Showing results for 
Search instead for 
Did you mean: 

Magento SMTP Permission Denied

Magento SMTP Permission Denied

I'm receiving the following error when I try to use any of Magento's functions to send emails in core/Mage/Customer/Model/Customer.php ie sendPasswordResetConfirmationEmail();

exception 'Zend_Mail_Protocol_Exception' with message 'Permission denied' in /var/www/dev3/lib/Zend/Mail/Protocol/Abstract.php:277


I've already set up SMTP in the admin panel System > Configuration > Advanced > System according to this link:
and I can manually send emails, so I'm stuck as to what the issue is.


Any help would be much appreciated. Thanks!


Re: Magento SMTP Permission Denied

Hi @machjon


May I know where have you hosted your magento?

Are you using it on local host (local system)? To enable the email sending functionality you need not to do as mentioned in the url which you shared.


We should have email server configured on our hosting server for this functionality to work.

If you are using you local host (local system) you can use hMail server(for windows systems) to enable the email sending functionality.

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

Re: Magento SMTP Permission Denied

I think you should try this: free smtp serveryou will get full information..