Any Hosting Email Service with Fluent SMTP

Importance of SMTP Delivery Protocol #

WordPress uses the PHP mail() function to send all emails which aren’t configured properly with many web hosting providers even many hosting providers also disabled it entirely to avoid abusive use like almost all Cloud Providers such as Amazon EC2 & Lightsail Instances, Google Cloud Platform, Oracle Cloud Servers, etc. In both cases, WordPress emails will not be delivered to users.

In the earlier documentation, Configurable Email Delivery Providers listed all available Fluent SMTP native API-based integration with most of the popular Email Delivery Providers. But in cases of API-based connection, a direct SMTP Protocol is preferred for faster speed and in some cases where your desired Email Delivery Provider is not present in the Native API-based Connection Method.

In this tutorial, we will be configuring such a Direct SMTP-based connection with the “Other SMTP” method to send out emails from our domain.

Obtain SMTP Credentials #

There a lot of different Email Delivery Providers can be configured natively via API-based connection as listed below:

  1. Amazon SES API.
  2. Mailgun API.
  3. SendGrid API.
  4. Sendinblue API.
  5. SparkPost API.
  6. Netcore API (formerly Pepipost).
  7. PostMark API.
  8. Elastic Mail API.
  9. Gmail & Google Workspace OAuth API.
  10. Outlook OAuth API.

If your desired Email delivery Service is not listed above, you can still connect to your Email Delivery Provider via SMTP. You would need to obtain SMTP Credentials from your Email Delivery Provider or the Mail Server.

Additionally, we have curated a list of obtaining SMTP Credentials from different providers to be used in the same way we are going to be configuring Fluent SMTP in the following sections here:

  1. cPanel SMTP Credentials – FluentSMTP

This is the information we need to collect from Email Delivery Provider. Please check the documentation section of your host’s website about how to get such SMTP information if it is not still listed above.

Surely there will be a guide but If not, you should contact your Hosting Support.

Configure Fluent SMTP Email Connection #

It is time to use the obtained SMTP Credentials in Fluent SMTP and send emails from WordPress Website.

Add New SMTP Connection #

If you already have any other configured connection, then you will be in the Fluent SMTP Dashboard.
Please go to WordPress Settings ⮕ Fluent SMTP ⮕ Settings ⮕ Add Another Connection

If you haven’t set up any SMTP Connection yet, you will be directed to configure a connection automatically.
Now from your WordPress Dashboard go to Settings ⮕ Fluent SMTP

SMTP Details #

After selecting Other SMTP, you will need to configure some settings including Sender Settings and SMTP Authentication Credentials.

Sender Settings #

  1. From Email:
    The “From Email” is the Mail From Address that will be used to send all WordPress Emails. Check the box to set the return path to match the Mail From Address.
    The Return Path indicates where non-delivery receipts or bounce messages are to be sent. If unchecked, bounce messages will be lost. With this enabled, you’ll be emailed using “From Email” if any messages bounce as a result of issues with the recipient’s email.
  2. From Name:
    From Name can be anything you want. You can use a combination of your name and company name. In the above example, only “Notifications” is used.
    If you check the Force Sender Name, then this name will be forced to be shown in the Recipient’s Email Client. It is also dependent if your Email Delivery Provider supports it or not.

SMTP Server Settings #

The next part is to provide SMTP Server Authentication Credentials. This has 3 parts that are described below:

  1. Remote MTA Connectivity:
    • SMTP Host: The Hostname of the Remote Mail Server. Mostly it is the MX Record of your domain. As an alternative, you may also put the IP address of your Hosting or Mail Server if you face any Could not Connect type of error.
    • SMTP Port: This is the port provided by your Mail Server. In the above, we saw that for Secure Connection the Port number is 465 and for Non-Secure Connection, the port number is provided as 587.
  2. Encryption:
    The Encryption Method between your Mail Server and Fluent SMTP. Select SSL on port 465, TLS on port 587, or None in case your mail server does not require or support any encryption like on port 26. No Encryption is not recommended at all for security reasons.
    • Use Auto TLS: By default, TLS Encryption would be used if the server supports it. On some hosting servers, it could be a problem and may need to be disabled. We recommend you contact your hosting server if TLS is not supported.
  3. Authentication:
    If you need to provide your SMTP server’s credentials (username and password) to enable the authentication, in our case, this is required for cPanel Mail Servers.
    • SMTP Username: This is usually the email address you are using to send emails.
    • SMTP Password: This is usually the password for the email account while you created the mailbox.
  4. Access Keys Storage:
    • Store Access Keys in DB: By default, this is enabled and strongly recommended. This will keep the information in the Databases in Encrypted format.
    • Access Keys in Config File: This allows you to store the access keys in the following section inside the wp-config.php file by the following directives.

Simply copy the following snippet and replace the stars with the corresponding credential. Then simply paste it to the wp-config.php file of your WordPress installation

define( 'FLUENTMAIL_SMTP_USERNAME', '********************' );
define( 'FLUENTMAIL_SMTP_PASSWORD', '********************' );

Once you are done with providing the correct details, please save the settings by clicking on the Save Connection Settings button. Then follow this documentation: Send a test email, Test Email Confirmation, and Confirm Test Email Deliverability using this SMTP Connection to your own Email Address and confirm the delivery.

That’s all! Enjoy the robustness of Fluent SMTP in your WordPress Website and never face any issues with Email Delivery Again!

51 Comments

  1. I have some questions:

    How can I set sending limit on each SMTP?
    How can I send emails through campaign with more than one email ID sender using multiple SMTP?

  2. Hi Fluent SMTP team,
    I have been using Fluent SMTP on my website for quite some time. But for some time Email Logs is not working slowly. It used to work just fine.

  3. I just wanted to say thank you for this great new plugin. I first tried MailOptin plugin, but I could not get it to work. I then watched a utube video by Adam @ WPCrafter about FluentSMTP plugin and it worked a treat. Thank you so much! Julie

  4. Hi i am having an error while connecting with ZOHO CRM as it says SMTP connect() failed. Please help me

  5. Hi,
    Firstly Congrat for your work, all Fluent Plugins are amazing.

    It’s possible use Mandrill, The transactional Mailchimp smtp with fluentSMTP?

    Thank you so much

    1. Hi Alberto, Mandrill doesn’t let you use the service for sending WordPress emails. So I’m not sure whether you can set it up with FluentSMTP.

  6. Can you please tell me what this error means: Oops! PHPMailer is modified by WPMailSMTP\MailCatcherV6.

  7. Hi. Im setting this up on my clients website. Some clients don’t feel comfortable giving me there password for the email address. Is there a way round this?

    Thanks

    1. Hi Colin, the setup process is rather easy. I think it would be best if you give the other credentials and ask them to enter the password themselves.

  8. Hi
    Thanks for the free plugin, here is my question:
    What is the difference (or what are the pros and cons) between using SMTP service from my host and using a thirs party such as SendGrid or Sendinblue?

    1. Hi Jose Luis,
      Normally, WordPress sends PHP emails that are delivered through hosting. Hostings aren’t optimized for sending emails. In fact, some hosting does not allow you to send PHP emails. As a result, most of your emails don’t get delivered. And even if they do get delivered, some email clients put PHP emails into the spam folder. On the other hand, Third-party email service providers use SMTP protocol and they have a good deliverability reputation. This means your emails are more likely to hit the recipient’s inbox if you use such services.

      1. Thank you Nazir but my question was more related to selecting “Other SMTP” vs SendGrid or Sendinblue when configuring the Connection Provider
        Thanks

        1. The difference is that Sendgrid, Sendinblue, Amazon SES, etc., are integrated via native API. Which means that the connection will work faster. Since other email sending services aren’t API based, email sending will be a bit slow.

    1. Hi Kay, Yandex isn’t on our list at this moment. I’m adding this as a feature request and we’ll let you know if we add. 🙂

  9. Hello, I have been using Fluent Form for a while and i am a beginner at Fluent SMTP.
    I have not been able run a successful email test with Fluent SMTP, whenever i try to send a test mail it says
    Oops! PHPMailer is modified by WPMailSMTP\MailCatcherV6.
    Please what is the solution to this issue ?

  10. Hi.

    I have a VPS and a WordPress site that uses the free Fluentform. Questions about using “Other” (Or should I use PHP?)
    So for the SMTP Host I’m using my servers hostname (host.mydomain.net) and port 465 with SSL

    I’m not sure which User Name and Password to use. I use the full user name and password for my email account I setup in cPanel? Like user@mydomain.com and my password. But it errors out:

    Credential Verification Failed. Please check your inputs

  11. Hi,

    When I enter my email username and password for authentication in ‘Other’ , does the plug in/ fluent SMTP / WPManageNinja Team etc see my credentials? OR are they hashed and kept private?

    Thanks

  12. Hello, I use the free version of your fluent form extension and I wanted to know if it was possible to receive the content of the data collected in the contact form on my mailbox directly instead of a simple notification which forces me to log in to WordPress? If so, what is the method? Thank you for your time

    1. Hi Audery, you need to map dynamic entries for all the form fields in the email notification. For further assistance, please submit a support ticket.

Leave a Reply

Your email address will not be published. Required fields are marked *