通过 Microsoft Exchange Server 发送电子邮件
我想通过 Microsoft Exchange 服务器发送电子邮件。例如,是否可以通过 SMTP 来实现?服务器是“be01.ix.netplace.com”,以防万一这对任何事情都有帮助。我尝试了很多示例代码,但它们都不起作用。 感谢您尝试提供帮助:)
I would like to send e-mails through a Microsoft Exchange server. Is it even possible through SMTP for example? The server is "be01.ix.netplace.com" in case this will help in anything. I tried many sample codes but they all didn't work.
Thanks for trying to help :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
可以通过 Exchange 发送 SMTP 电子邮件 - 我的 linux 盒子一直这样做。但是,您必须将 Exchange 设置为允许 SMTP 连接。
编写 SMTP 电子邮件程序本身很简单,要么连接到正确端口上的服务器并向其发送命令,要么使用库(其中有负载)。
要测试 SMTP 电子邮件发送,请通过端口 25 远程登录到服务器并手动键入邮件命令。我们过去在大学里这样做是为了向自己的人发送电子邮件,显然大多数 SMTP 端口都是安全的,可以阻止您这样做:)
It is possible to send SMTP email through Exchange - my linux boxes do it all the time. However, you have to set Exchange up to allow SMTP connections.
Coding a SMTP emailer is simplicity itself, either connect to the server on the correct port and send the commands to it, or use a library (of which there are loads).
To test your SMTP emailing, telnet to the server on port 25 and manually type the mail commands. We used to do this at university to send emails to people from themselves, obviously most SMTP ports are secured to stop you doing this :)
可以将电子邮件发送到 Exchange 服务器。只要 Exchange 服务器上的转发选项未关闭,也可以通过 Exchange 服务器发送电子邮件。
It's possible to send email to Exchange server. It's also possible to send email through an Exchange server as long as the forwarding option is not turned off on Exchange server.