1
I’m using AWS Elastic Beanstalk and I can’t send mails with Phpmailer. On my local server it works right with exactly the same configuration. AWS Elastic Beanstalk uses Red Hat 4.8.3-9... I tried all problem solving techniques of Phpmailer and they’re all functioning normally. The only one that leaves me doubt is the "Selinux blocking" that I do not know if it will be a problem, but anyway the error is not even the same.
I tried to use the command getsebool httpd_can_sendmail
and the answer was this getsebool: SELinux is disabled
.
The error of Phpmailer:
SMTP ERROR: Failed to connect to server: (0)
Is this the problem? Does anyone know how to solve?
Cross Post: https://stackoverflow.com/q/42983283/1817673
Issue: https://github.com/PHPMailer/PHPMailer/issues/1013
Subnet has internet gateway?
– juniorb2ss
@juniorb2ss subnet from where?
– Jorge B.