I have the same problem when I use “WP Mail SMTP” plugin and my gmail account to send mail. The error is: “SMTP -> ERROR: Failed to connect to server: Permission denied (13) SMTP Error: Could not connect to SMTP host. “. My settings:
define(‘WPMS_ON’, true);
define(‘WPMS_MAIL_FROM’, ‘From Email’);
define(‘WPMS_MAIL_FROM_NAME’, ‘From Name’);
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.googlemail.com’); // The SMTP mail host
define(‘WPMS_SMTP_PORT’, 465); // The SMTP server port number
define(‘WPMS_SSL’, ‘ssl’); // 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’, ‘mypasswd’); // SMTP authentication password, only used if WPMS_SMTP_AUTH is true
I have no problem for this settings on my Thunderbird. Any idea about it? Thanks!