我已經配置應用程序/代碼/核心/法師/核心/型號/電子郵件/ template.php文件:Magento的Gmail郵件
$config = array(
'ssl' => 'tls',
'port' => Mage::getStoreConfig('system/smtp/port'), // it is set to 25
'auth' => 'login',
'username' => '[email protected]',
'name' => Mage::getStoreConfig('system/smtp/host'), // it is set to smtp.gmail.com
'password' => 'password'
);
但IM仍然得到例外:
無法發送郵件。 mail():SMTP服務器響應:530 5.7.0必須首先發出STARTTLS命令
其中還需要進行更改才能使其工作?它在別的地方app/code/core/Mage/Core/Model/Email/Template.php?
只有你不同於我的方式是我不使用'ssl'=>'tls',在這個數組中。如果你刪除這個呢? –