发送邮件 symfony2 而不是 gmail

Sending mail symfony2 not gmail

我曾经使用 gmail 从我的 symfony2 应用程序发送邮件。但是现在 google 似乎阻止了此服务,而当我尝试使用 SwiftMailer 发送邮件时,我的 gmail 帐户收到以下消息:

Someone just tried to sign in to your Google Account xxx@gmail.com 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:

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

注意:我当然需要一些免费的东西

Sendmail, Exim, and so on. Just install one and configure your app accordingly这样的邮寄服务有很多。