2015-11-07 72 views
1

我曾经使用gmail从我的symfony2应用发送邮件。但现在谷歌似乎阻止该服务,而不是我碰到下面的消息,我的Gmail帐户时,我尝试使用SwiftMailer发送邮件:发送邮件symfony2不是gmail

Someone just tried to sign in to your Google Account [email protected] from an app that doesn't meet modern security standards. 

Details: 
Saturday, November 7, 2015 9:26 PM (Central European Standard Time) 
France* 
We strongly recommend that you use a secure app, like Gmail, to access your account. All apps made by Google meet these security standards. Using a less secure app, on the other hand, could leave your account vulnerable. Learn more. 

Google stopped this sign-in attempt, but you should review your recently used devices: 

现在,如果没有谷歌,我应该用什么来发送邮件?

注:我需要自由ofcourse

回答

0

的东西有很多的邮件服务,如SendmailExim,等等。只需安装一个和configure your app accordingly

+0

谢谢。最后,我结束了使用https://mailgun.com/一个API电子邮件服务 –