PHPMailer not working on Bitnami Lightsail instance running Wordpress

0

I'm running Wordpress on a Bitnami Lightsail instance.

I've opened all TCP & UDP ports (for troubleshooting purposes) and am receiving errors when trying to use PHPMailer with any mail plugin.

Any help appreciated. I've pasted my error log below:

Versions:
WordPress: 6.3.1
WordPress MS: No
PHP: 8.2.10
WP Mail SMTP: 3.9.0

Params:
Mailer: mail
Constants: No

Server:
PHP.mail(): Yes

PHPMailer Debug:
Could not instantiate mail function.


Debug:
Email Source: WP Mail SMTP
Mailer: Default (none)
PHPMailer was able to connect to SMTP server but failed while trying to send an email.
Harry
asked 7 months ago269 views
1 Answer
1
Accepted Answer

See SMTP (port 25) outgoing connections blocked. TLDR; You need to either get approval to send mail from an instance or use Simple Email Service.

profile pictureAWS
answered 7 months ago
profile picture
EXPERT
reviewed 7 months ago
  • Thank you for your help!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions