Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all articles
Browse latest Browse all 5008

WP SMTP Mail Settings for Multisite in wp-config

$
0
0

Replies: 0

I want to use WP SMTP mail on multisite. I found I page from 2015 that gives settings that you can put in wp-config.php.

Is this still accurate?

define('WPMS_ON', true);
define('WPMS_MAIL_FROM', 'myemail@mydomain.com');
define('WPMS_MAIL_FROM_NAME', 'My WordPress Multisite');
define('WPMS_MAILER', 'smtp'); // Possible values 'smtp', 'mail', or 'sendmail' 
define('WPMS_SET_RETURN_PATH', 'false'); // Sets $phpmailer->Sender if true
define('WPMS_SMTP_HOST', 'smtp.gmail.com'); // The SMTP mail host
define('WPMS_SMTP_PORT', 587); // The SMTP server port number
define('WPMS_SSL', 'tls'); // Possible values '', 'ssl', 'tls' - note TLS is not STARTTLS
define('WPMS_SMTP_AUTH', true); // True turns on SMTP authentication, false turns it off
define('WPMS_SMTP_USER', 'myemail@mydomain.com'); // SMTP authentication username, only used if WPMS_SMTP_AUTH is true
define('WPMS_SMTP_PASS', 'ThePasswordGenius'); // SMTP authentication password, only used if WPMS_SMTP_AUTH is true

Is there official documentation somewhere that details these constants and their options? Can individual sites in the network override these constants?


Viewing all articles
Browse latest Browse all 5008

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>