SendMail 的替代方案
当我尝试在脚本中发送电子邮件时,我当前使用的主机的可靠性很差。 (我认为他们对于让任何垃圾邮件通过非常严厉,而且他们也碰巧过滤掉了一些合法的东西)。我基本上需要一个替代方案。我记得看到一个网站,你可以注册一个帐户,允许你通过他们发送电子邮件,但我不记得它叫什么......有什么想法吗?
干杯酋长
17
The host that i am currently using has sketchy reliability when attempting to send an email within a script. (I think they are just really harsh about letting any spam getting through and they happen to filter out some legit stuff too). I basically need an alternative. I remember seeing a website that you can register an account with that allows you to send emaild via them, but i cannot remember what it is called... any ideas?
Cheers
Chief17
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 Gmail 作为 SMTP 服务器: http:// lifehacker.com/111166/how-to-use-gmail-as-your-smtp-server。另外在这里:http://www.geekzone.co.nz/tonyhughes/599
You can use Gmail as your SMTP server: http://lifehacker.com/111166/how-to-use-gmail-as-your-smtp-server. Also here: http://www.geekzone.co.nz/tonyhughes/599
只是为了提供更直接的答案:
将 PHPMailer 作为 sendmail 的替代品。
http://code.google.com/a/apache-extras。 org/p/phpmailer/
下载中有示例,包括gmail的使用。
至于地址来自 your_domain.com 的电子邮件,这
可以使用谷歌应用程序来完成。标准
免费版本允许 10 个用户或电子邮件地址。
编辑2015_09_29:
PHPMailer 现已发布在 GitHub 上。新地址是:
https://github.com/PHPMailer/PHPMailer
编辑2015_09_29:
斯科特
Just to provide a more direct answer:
Look at PHPMailer as an alternative to sendmail.
http://code.google.com/a/apache-extras.org/p/phpmailer/
There are examples in the download including the use of gmail.
As far as email with addresses from your_domain.com, this
can be accomplished utilizing Google apps. The standard
free version allows for 10 users or email addresses.
Edit 2015_09_29:
PHPMailer is now on GitHub. The new address is:
https://github.com/PHPMailer/PHPMailer
Edit 2015_09_29:
Scott