# How to Configure WordPress to Use SMTP For Sending Emails?

To begin, install a plugin named [WP Mail SMTP](https://wordpress.org/plugins/wp-mail-smtp/) by following the instructions in our tutorial on how to install WordPress plugins. Once the plugin is installed and activated, a new menu will show up under the **Settings** section called **Email**. You will need to navigate to it to configure WordPress to work with SMTP.

![](https://uxper.gitbook.io/~gitbook/image?url=https%3A%2F%2F532169580-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Mboj_b4Ha8PjhcwkI9w%252Fuploads%252FIZL4i0Zi2UKLBx3BmFSY%252Fimage.png%3Falt%3Dmedia%26token%3D539b1bbb-e889-4a99-810b-1761623c9a4f\&width=300\&dpr=4\&quality=100\&sign=12345ef6\&sv=1)

On this page you will see several configuration options available:

![](https://uxper.gitbook.io/~gitbook/image?url=https%3A%2F%2F532169580-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Mboj_b4Ha8PjhcwkI9w%252Fuploads%252FlvRVf4tjcwcgxxmaAIXb%252Fimage.png%3Falt%3Dmedia%26token%3Dae4051b4-d0b1-4a05-a614-e2c4eedbb355\&width=300\&dpr=4\&quality=100\&sign=2f4f1200\&sv=1)

Then, Go to WP Mail SMTP Setting -> Select Option Mailer And then follow that method's instructions:

![](https://uxper.gitbook.io/~gitbook/image?url=https%3A%2F%2F532169580-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-Mboj_b4Ha8PjhcwkI9w%252Fuploads%252F3NUwR9uTHoc8TT2wSP5j%252Fimage.png%3Falt%3Dmedia%26token%3Ddd13405d-e283-46b2-a932-cc81049f6ff8\&width=768\&dpr=4\&quality=100\&sign=9608d7aa\&sv=1)

Here’s a list of all of them and what do they configure:

* **From Email** – the email address you want to send emails from – for example, <email@yourdomain.com>;
* **From Name** – the name that your emails will be sent from;
* **Mailer** – choose whether you want to use the *Default* PHP mail() functio&#x6E;*, a Gmail/G Suite account, Mailgun, SendGrid* or other SMTP servers. Choosing the *Default* mode would send the messages using the PHP mail() function without SMTP authentication. The *Gmail/G Suite, Mailgun* and *SendGrid* options require additional info such as Client ID and Client Secret or API key that should be obtained by the respective provider. The *other SMTP server* option would prompt you to enter additional configuration details which we would describe below.
* **Return Path** – check if you want to match the return path for your emails to the sending email;

If you choose other SMTP servers as a mailer, you would be prompted to add the SMTP server’s configuration settings.

* **SMTP Host** – the hostname for your SMTP server;
* **SMTP Port** – the port your server works on;
* **Encryption** – if you have SSL/TLS encryption available for that hostname, select it here;
* **Auto TLS** – if your server supports TLS encryption, enable this option;
* **Authentication** – check if your SMTP server requires authentication;
* **Username** – the username for your SMTP server;
* **Password** – the password for your SMTP server;

Once you configure those parameters, click **Save Settings** at the bottom of the page.
