I am setting up a PHP-powered web application on AWS micro instance:
$ uname -a
$ Linux ip-10-138-44-238 3.2.28-45.62.amzn1.x86_64 #1 SMP Wed Aug 22 03:09:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
PHP function mail()
returns successfully true
, but nothing is received (obviously email is blocked by Amazon somewhere outside of the server). Using sendmail from command line acts the same:
$ sendmail 'mzelensk**@mail.ru' < mail.txt
$
I came across many post about this problem on the Internet, so there should be a good and well tested solution to it. A webapp must be able to send mails, this is a pre-requirement nowadays. How can a webapp work without, for example, password reminder functionality?
What are my options to solve the problem?