Bobcares

WP mail SMTP multisite – Here’s how we configure it

by | Apr 19, 2019

WordPress create amazing websites easily.

Again, advanced features like Multi-site helps to access all your websites under one WordPress installation.

But, users often confuse with WP mail SMTP multisite settings. This is a plugin to integrate different email account under one WordPress.

At Bobcares, we often get requests from customers to set up “WP mail SMTP multisite” as part of our Technical Support Services.

Let’s see how our Support Engineers configure WP mail SMTP multisite correctly.

 

Understanding WordPress Multisite and mail SMTP in detail

First, let’s understand what WordPress multisite means.

It’s simply nothing, but an advanced feature of WordPress that allows users to create multiple blogs and websites from a single WordPress installation.

With multisite, users get quick access to several blogs with one username and password that makes them more convenient to use.

Have you ever thought how emails are sent from multisite?

This is where the WP Mail SMTP for multisite plays an important role. This is a plugin that allows users to configure SMTP mail on WordPress Multisite for sending emails.

Instead of using different SMTP plugins for different email providers like (Gmail, Yahoo, Outlook, etc), WP mail SMTP plugin brings all in one.

This is how  WP Mail SMTP makes one of the best SMTP solutions for WordPress multisite.

 

Using WP mail SMTP in multisite

For a single site, customers find it easy to install and configure WP mail SMTP. But, it’s confusing when it comes to multisite.

Recently, one of our customers approached us finding it difficult to set up WP mail SMTP multisite.

Let’s see how our Technical Engineers executed to fix the problem by the following steps below.

1. First of all, we logged in to the WordPress admin dashboard.

2. We searched for WP mail SMTP under the Plugins section.

3. Now, plugins like WP Mail SMTP and Easy WP SMTP appears in the search list. Since WP Mail SMTP is one of the most popular and widely used plugins. We installed and activated WP mail SMTP.

4. After the successful completion, we then checked the settings of WP mail SMTP and gave the correct values in the respective columns such as:

From Email – The email address from which you send emails.

From Name – The name that appears when sending emails.

Mailer – We choose ‘Other SMTP

5. Also, we always ensure that Authentication is on before saving the settings.

This above-mentioned setting is the same for both single and multisite in WordPress.

6. Finally, in addition, to enable SMTP multisite we added the following settings in the wp-config.php configuration file.

define('WPMS_ON', true);
define('WPMS_MAIL_FROM', 'user@domain.com');
define('WPMS_MAIL_FROM_NAME', 'My WordPress Multisite');
define('WPMS_MAILER', 'smtp'); 
define('WPMS_SET_RETURN_PATH', false); 
define('WPMS_SMTP_HOST', 'smtp.gmail.com'); 
define('WPMS_SMTP_PORT', 587); 
define('WPMS_SSL', 'tls'); 
define('WPMS_SMTP_AUTH', true); 
define('WPMS_SMTP_USER', 'user@domain.com'); 
define('WPMS_SMTP_PASS', 'yourpassword');

7. Also, we ensure to take back up of the configuration file before editing. This helps us to restore the data in case of some database failure.

This is how our Technical Team set up WP mail SMTP in WordPress multisite. And, all blogs use the same email address.

However, it is possible to set up each blog under multisite to use its own email address too.

 

How we fixed the issue with WP mail SMTP multisite

Similarly, another customer approached us with the issue that emails sent from multisite failed. Even though they have activated WP mail SMTP multisite, they faced this problem. But, emails sent from the parent domain works properly. Also, when sending from the child website. it results in “550: SMTP server error Access denied“.

Let’s see how our Technical Engineers figured it out.

1. Initially, we checked the log “/var/log/mail.log” to verify if “550: SMTP server error Access denied” occurs.

2. We knew that this error happens when the SMTP server blocks IP.

3. By checking, we found that the user’s IP was blocked on the server.

4. Finally, we unblocked the IP address on the server firewall. Thus, the problem was solved and the customer could send emails properly.

[Finding trouble in configuring SMTP in WordPress multisite? We’ll fix it for you.]

 

Conclusion

In short, “WP mail SMTP multisite” provide options to specify different email accounts for each blog or a common email account for all WordPress sites. Today, we saw how our Support Engineers set up “WP mail SMTP multisite” for our customers and fix related problems.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

3 Comments

  1. from test

    There is no settings in network admin …

    Reply
    • Sijin George

      Please let us know the exact settings that you are looking for.

      Reply
  2. AC

    define( ‘WPMS_SET_RETURN_PATH’, ‘false’);
    SHOULD BE
    define( ‘WPMS_SET_RETURN_PATH’, false);

    i.e, without single quote

    Reply

Submit a Comment

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

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF