I am new to this. Have got a cloudserver running centos 5.4, Installed php, mysql and apache to run magento however emails are not going out.. Do I need to configure something more?
1 Answer
PHP mail function depends only on two things:
- PHP config (search for mailkeyword inphp.ini)
- Sendmail
Mail transport is a different question and if you don't have any errors after your PHP script sends the email, you could check:
- mailq, if queue is not empty, possibly there is firewall issue
- tail /var/log/mail, log checking :-)
-  Hi, Thanks for your reply. I checked /var/log/maillog and its empty. php.ini under [mail function]: sendmail_path = /usr/sbin/sendmail -t -i but in /usr/sbin there is no sendmail, maybe I need to install this first?Silverphp– Silverphp2010-02-25 13:03:12 +00:00Commented Feb 25, 2010 at 13:03
-  Yes. Or check the command 'whereis sendmail` in case if sendmail is installed in different place.Andrejs Cainikovs– Andrejs Cainikovs2010-02-26 11:14:03 +00:00Commented Feb 26, 2010 at 11:14
-  You could also install something else. Other MTAs also offer sendmail compatiblesendmailcommands.Alex Jasmin– Alex Jasmin2010-04-12 10:23:42 +00:00Commented Apr 12, 2010 at 10:23