Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Emails not sent by cron job
 
ruckfield
Newbie
 
Total Posts:  0
Joined:  2012-04-24
 

Hello.

I\’m working on a custom module to send emails for abandoned carts.
I have created a backoffice grid with a button that allow manual sending of the emails and it works fine but when i configure a cron to do the same task automatically it doesn\’t work.

The cron job execute the function but encounters an error when sending email.
In my logs i have the following error reported :
exception \’Zend_Mail_Transport_Exception\’ with message \’Unable to send mail. \’ in /httpdjail/var/www/vhosts/mydomain/httpdocs/lib/Zend/Mail/Transport/Sendmail.php:138

I tried a lot a methods but i can\’t make it works.
It is weird because newsletters are sent with cron.
Anyone have ideas ?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top