SMTP password improves security problem
-
In setting at SMTP password, the following recommendation is made:
—
The password is stored in plain text. We highly recommend you setup your password in your WordPress configuration file for improved security; to do this add the lines below to your wp-config.php file.define( ‘WPMS_ON’, true );
define( ‘WPMS_SMTP_PASS’, ‘your_password’ );
—Security is vital, but when I add this code to wp-config.php and try to send a test mail it does not work because there is an authentication error.
But without the code added to wp-config.php – sending test mails works fine.Part of the log below:
SERVER -> CLIENT: 535 Incorrect authentication data
SMTP ERROR: Password command failed: 535 Incorrect authentication data
SMTP Error: Could not authenticate.
CLIENT -> SERVER: QUIT
SERVER -> CLIENT: 221 https://www.hostname.com closing connection
Connection: closed
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
- The topic ‘SMTP password improves security problem’ is closed to new replies.