Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getMail()
- {
- if (is_null($this->_mail)) {
- /* changes begin */
- $my_smtp_host = Mage::getStoreConfig('system/smtp/host');
- $my_smtp_port = Mage::getStoreConfig('system/smtp/port');
- $config = array(
- 'ssl' => 'tls',
- 'port' => $my_smtp_port,
- 'auth' => 'login',
- 'username' => 'noreply@gmail.com',
- 'password' => '***************'
- );
- $transport = new Zend_Mail_Transport_Smtp($my_smtp_host, $config);
- Zend_Mail::setDefaultTransport($transport);
- /* Changes End */
- $this->_mail = new Zend_Mail('utf-8');
- }//die('abc');
- return $this->_mail;
- }
- Zend_Mail_Protocol_Exception: Command not implemented
- in G:xampphtdocsmcardleslibZendMailProtocolAbstract.php:431
Add Comment
Please, Sign In to add comment