I am using AWS Elastic Beanstalk and I cannot send emails using PHPMailer. But on my local server, this works like a charm. AWS Elastic Beanstalk uses Red Hat 4.8.3-9 ... I tried to diagnose all PHPMailer troubleshooting methods and everything works fine ... I donโt know if the last "SELinux lock" is a problem, but my error is not the same .
I am trying to use getsebool httpd_can_sendmail and the answer is getsebool: SELinux is disabled .
My mistake:
SMTP ERROR: Failed to connect to server: (0)
Can you tell me what the problem is and how can I fix it?
php phpmailer amazon-web-services elastic-beanstalk
Jorge B. Mar 23 '17 at 17:42 on 2017-03-23 โโ17:42
source share