I am using Amazon EC2 Instance for one of my project, I have installed LAMP on linux server and now while I am trying to send email using simple function it is not sending email also is not giving any error for that.
Things I have done so far.
If you're using Amazon SES to send email from an Amazon EC2 instance, you should also complete the following steps: You may need to assign an Elastic IP Address to your Amazon EC2 instance in order for receiving email providers to accept your email.
Amazon Simple Email Service (SES) is a cost-effective email service built on the reliable and scalable infrastructure that Amazon.com developed to serve its own customer base. With Amazon SES, you can send transactional email, marketing messages, or any other type of high-quality content to your customers.
If you are using a amazon ec2 ami/linux distro use "sudo yum install sendmail" while in SSH
I solved this issue just by installing sendmail in my instance. Just run bellow command in your terminal
sudo apt-get install sendmail
That worked for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With