# Configure SMTP settings

B2COPY requires an active SMTP service to send email notifications to clients about important events, such as account creation, password changes, and others. For optimal performance, choose an SMTP provider that ensures high deliverability and doesn't impose strict daily sending limits.

To configure SMTP settings:

{% stepper %}
{% step %}
Expand the **Settings** menu.
{% endstep %}

{% step %}
Go to **SMTP Settings** in the menu.
{% endstep %}

{% step %}
On **SMTP Settings** page, fill in the following fields:

* In the **Host** field, enter the SMTP service hostname.
* In the **Username** and **Password** fields, enter your SMTP service credentials.
* In the **Send from Email** field, enter the email address that will appear as the sender for outgoing emails.
* In the **Send from Name** field, enter the name you want recipients to see as the sender (for example, your company name).
* In the **Encryption** dropdown, select **SSL/TLS** to enable a secure connection with the SMTP service. Select **None** (no encryption) only when testing.
* In the **Port** field, enter the port number used for the SMTP connection.

<figure><img src="/files/0wh0inkAdtbUoGqAvq5S" alt="SMTP settings"><figcaption><p>SMTP settings</p></figcaption></figure>
{% endstep %}

{% step %}
Click **Test Connection** in the upper-right page corner to verify that the connection to the SMTP service works with the current settings.

If the message `Connection test successful` appears, the connection is valid.
{% endstep %}

{% step %}
When configuring SMTP settings for the first time, click **Save and go to Templates** to generate email templates that will be used for sending notifications to clients (for details, refer to [Generate and configure email templates](/admin-panel-guide/manage-b2copy-settings/generate-and-configure-email-templates.md)).

When updating an existing SMTP configuration, click **Save** to apply your changes.
{% endstep %}
{% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.b2copy.b2broker.com/admin-panel-guide/manage-b2copy-settings/configure-smtp-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
