Wordpress mail issue
I've had the email restrictions removed from my Linode, but I'm receiving this error when sending a test email with my WP Mail plugin:
PHPMailer was able to connect to SMTP server but failed while trying to send an email.
How do I correct this so I can send mail?
I found a Wordpress Support post about this error, which includes a possible resolution. From that article:
Checking the “Force From Email” box in the WP Mail SMTP settings seems to have resolved this issue.
I wasn't able to find clear instructions on how to enable this within the Wordpress GUI, but I was able to find this Wordpress Support post, which talks about changing the setting directly in
wp-config.php. From that article:
Thank you so much for your quick response today!
In the UI on
options-general.php?page=wp-mail-smtpthe checkbox becomes greyed out, but it does not show as “checked”
However, the sending address is correctly forced to my defined sending email address. Solved for me!