PHPMailer not able to send send email with ec2
问题 I'm using PHPmailer to send account verification mail, I'm using AWS ec2 instance, however, that mailer is working fine in localhost but when I upload that to server emails are not going, at first, i used SendGrid credentials to send emails, failed, then tried Gmail SMTP , failed, and somewhere I read that ec2 can't send emails, then I created SES also, still can't able to send. searched on the web abt that but no answers are fixing my problem, in localhost , in can send emails with the same