WP SMTP Mail Settings for Multisite in wp-config
-
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', '[email protected]'); 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', '[email protected]'); // 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 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘WP SMTP Mail Settings for Multisite in wp-config’ is closed to new replies.