• 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

Viewing 1 replies (of 1 total)
  • Plugin Author Slava Abakumov

    (@slaffik)

    Hey @webber2012,

    Make sure that you are using the correct quotes when defining constants. It should be single quote ' or ".
    Next, please try to save in plugin settings any text in a password field (like 123) with constants being off define( 'WPMS_ON', false );, and after saving turn it on again and test.

Viewing 1 replies (of 1 total)
  • The topic ‘SMTP password improves security problem’ is closed to new replies.