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!
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.