how to send mail from 3rd

本文介绍了如何在 Exchange 2010 和 2013 中进行 SMTP 配置及邮件发送测试。主要内容包括触发邮件发送脚本的方法、使用 Telnet 进行服务器测试的具体步骤以及解决“5045.7.4 Unrecognized authentication type”错误的方法。

http://www.advancedintellect.com/post/2011/03/02/Exchange-2010-and-SMTP-settings.aspx


Enviroment:

Exchange 2010, 2013 which only have hub role and other roles 



1.

we should use the followign code to triggle sending mail script:

http://www.daixiaorui.com/read/16.html#viewpl



2. 

we should use the following commands to Telnet the server to do the test:

http://blog.chinaunix.net/uid-9681606-id-1998570.html

I summarize the following commands:

telnet mail.sunet.net 25
HELO mail.sunet.net
auth login

Test 

test123

MAIL FROM:<sunet@sunet.net>
RCPT TO:<sunet@sunet.net>
DATA 
hello world.


3. 

Using the following method to overcome the "504 5.7.4 Unrecognized authentication type"

http://www.advancedintellect.com/post/2011/03/02/Exchange-2010-and-SMTP-settings.aspx

we should change the authentication method:

And also, we need to use the port 25 as the smtp server 


4.

It should be works at then. 



本文转自 zhangfang526 51CTO博客,原文链接:http://blog.51cto.com/zhangfang526/1828327
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值