smtp 配置163 smtp
邮箱可以成功发送邮件给163邮箱
却不能发给qq邮箱,
如何能同时发给163邮箱和qq邮箱了?
甚至可以发给国外的一些邮箱。
gmail smtp设置在那里了?怎么没找到。
@forecho 如果我想没有100封/天的限制,是不是得专门搞个阿里云邮件了?
@forecho 多谢 这个getyii似乎就你和我最活跃了。
@forecho 你的getyii可以给qq发邮件,把配置给我一份谢谢。
@Kittyfamous #7楼 怎么可能,和163配置的是一样的
@light 把你参数,发一份给我,我怎么试都没成功。
总是Failed to authenticate on SMTP server with username "xxxxxx@qq.com" using 1 possible authenticators
Yii::$app->set('mailer', [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mail',
'useFileTransport' => false,
'transport' => [
'class' => 'Swift_SmtpTransport',
'host' => 'smtp.qq.com',
'username' => 'xxxx@qq.com',
'password' => '密码',
'port' => '465',
'encryption' => 'ssl',
],
]);
我这么写对不对了?
总是Failed to authenticate on SMTP server with username "xxxxxx@qq.com" using 1 possible authenticators