cancel
Showing results for 
Search instead for 
Did you mean: 

cronjob in Magento returning error

cronjob in Magento returning error

Hello All, I am getting Error, below error i get from log file . Please give any solution. Thanks in anticipation. 

Error : 2016-05-23T06:54:22+00:00 ERR (3): exception 'Zend_Mail_Transport_Exception' with message 'Unable to send mail. ' in 
/home1/shoppjb2/public_html/lib/Zend/Mail/Transport/Sendmail.php:137 Stack trace: #0 
/home1/shoppjb2/public_html/lib/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail() #1 
/home1/shoppjb2/public_html/lib/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail)) #2 
/home1/shoppjb2/public_html/app/code/core/Mage/Core/Model/Email/Queue.php(241): Zend_Mail->send() #3 [internal function]: 
Mage_Core_Model_Email_Queue->send(Object(Mage_Cron_Model_Schedule)) #4 /home1/shoppjb2/public_html/app/code/core/Mage/Cron/Model/Observer.php(326):
call_user_func_array(Array, Array) #5 /home1/shoppjb2/public_html/app/code/core/Mage/Cron/Model/Observer.php(72): 
Mage_Cron_Model_Observer->_processJob(Object(Mage_Cron_Model_Schedule), Object(Mage_Core_Model_Config_Element)) #6 
/home1/shoppjb2/public_html/app/code/core/Mage/Core/Model/App.php(1358): Mage_Cron_Model_Observer->dispatch(Object(Varien_Event_Observer)) #7 
/home1/shoppjb2/public_html/app/code/core/Mage/Core/Model/App.php(1337): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Cron_Model_Observer),
'dispatch', Object(Varien_Event_Observer)) #8 /home1/shoppjb2/public_html/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('default', Array) #9 
/home1/shoppjb2/public_html/cron.php(76): Mage::dispatchEvent('default') #10 {main}
2 REPLIES 2

Re: cronjob in Magento returning error

Hi @neha_

 

This can be happening because the email server is not configured on your server. Please check if email server is configured or not. It may be possible that you are doing development work on windows localhost.

 

---
Problem Solved Click Accept as Solution!:Magento Community India Forum

Re: cronjob in Magento returning error

Hi Neha,

 

It seems your corn is trying to send an email but he doesn't found the email configuration.

If you running in your localhost then please configured your email in php.ini and sendmail/sendmail.ini files.

If you running in sever then check your email configuration on the server.

 

If you any problem then please let me know

 

Thanks,

Dibyajyoti