I send e-mails to my members twice a week through aMember and never had any issues with it before. As of today e-mails won't send. The error log says: Unable to send mail. Exception Zend_Mail_Transport_Exception Zend_Mail_Transport_Sendmail->_sendMail [ library/Am/Mail.php : 227 ] Am_Mail_Transport_Sendmail->sendFromSaved [ library/Am/Mail.php : 448 ] Am_Mail_Queue->_sendSavedMessage [ library/Am/Mail.php : 487 ] Am_Mail_Queue->sendFromQueue [ library/Am/App.php : 2114 ] Am_App->onHourly call_user_func [ library/Am/Event.php : 784 ] Am_Event->call [ library/Am/Event.php : 807 ] Am_Event->handle [ library/Am/Hook.php : 202 ] Am_Hook->call [ library/Am/App.php : 968 ] Am_Cron::checkCron [ application/default/controllers/CronController.php : 30 ] CronController->indexAction [ library/Am/Controller.php : 139 ] Am_Controller->_runAction [ library/Am/Controller.php : 116 ] Am_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 308 ] Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 954 ] Zend_Controller_Front->dispatch [ library/Am/App.php : 2011 ] Am_App->run [ index.php : 92 ] I haven't made any changes recently so unless my hosting provider did something I'm not sure what the issue could be. Any thoughts on what I might try to resolve this?
According to your error you are using sendmail check /var/log/maillog or /var/log/messages to see what it is complaining about. I gave up long ago sending mail from my vps because even if it sends unless you are lucky a number of receiving servers will silently eat your mail or mark it as SPAM which then ends up with your IP in one of the block lists. I send it using SendGrid you can see what mail has problems and if the IP they will swap you to another....
I looked into SendGrid and I have signed up for it. After making the relevant changes in aMember everything is working properly again. Thank you for the suggestion jenolan!
You are quite welcome, we are using SendGrid on a number of sites it really reduces the email aggro ;-) Will need to nag Alex(and crew) to use the new API rather than the old userid/password system ... hey Alex yah her?