在 Windows Azure 中来自 PHP 的电子邮件 [英] Email from PHP in Windows Azure

查看:38
本文介绍了在 Windows Azure 中来自 PHP 的电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 Windows Azure 环境中发送带有 PHP 附件的电子邮件(gmail?).

How can send e-mail (gmail ?) with attachments from PHP in Windows Azure enviroment.

推荐答案

这篇博文表明 Windows Azure 不附带 SMTP 服务器.

This blog post suggests that Windows Azure does not come with an SMTP server.

这意味着您需要使用可用的第三方 SMTP 服务器来发送邮件.Gmail可能适合您.这似乎是 Gmail 的 SMTP 服务器信息.

This means that you will need to use an available third party SMTP server to send mail. Gmail might work for you. This seems to be Gmail's SMTP server information.

SwiftMailer 是这里经常推荐的邮件库之一.它提供连接到经过身份验证的 SMTP 服务器的能力,并具有全面的附件支持.

SwiftMailer is one of the mailing libraries that is recommended frequently here. It provides the ability to connect to authenticated SMTP servers and has comprehensive attachment support.

这篇关于在 Windows Azure 中来自 PHP 的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆