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

SMTP authentication
 
tman_f
Sr. Member
 
Total Posts:  85
Joined:  2008-02-12
 

Whenever magento needs to send an email i get the following error:

Warning: mail() [function.mail]: SMTP server response: 550

You must enable SMTP Authentication in C:\Program Files\xampp\htdocs\ijersey\lib\Zend\Mail\Transport\Sendmail.php on line 91

I am using windows, and have configured my php.ini file to accomodate smpt.

This is the function on and around line 91:

public function _sendMail()
    
{
        
if ($this->parameters === null{
            $result 
mail(
                
$this->recipients,
                
$this->_mail->getSubject(),
                
$this->body,
                
$this->header);
        
else {
            $result 
mail(
                
$this->recipients,
                
$this->_mail->getSubject(),
                
$this->body,
                
$this->header,
                
$this->parameters);
        
}
        
if (!$result{
            
/**
             * @see Zend_Mail_Transport_Exception
             */
            
require_once 'Zend/Mail/Transport/Exception.php';
            throw new 
Zend_Mail_Transport_Exception('Unable to send mail');
        
}
    }

Any ideas on where to throw in some authentication?

 
Magento Community Magento Community
Magento Community
Magento Community
 
tman_f
Sr. Member
 
Total Posts:  85
Joined:  2008-02-12
 

Nevermind guys, I got it.

The issue was not within this file, it was with my smtp service.

Disregard this post.

Thanks,

Tyler

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