天天看点

how to send mail from 3rd

<a href="http://www.advancedintellect.com/post/2011/03/02/Exchange-2010-and-SMTP-settings.aspx" target="_blank">http://www.advancedintellect.com/post/2011/03/02/Exchange-2010-and-SMTP-settings.aspx</a>

Enviroment:

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

1.

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

<a href="http://www.daixiaorui.com/read/16.html#viewpl" target="_blank">http://www.daixiaorui.com/read/16.html#viewpl</a>

2. 

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

<a href="http://blog.chinaunix.net/uid-9681606-id-1998570.html" target="_blank">http://blog.chinaunix.net/uid-9681606-id-1998570.html</a>

I summarize the following commands:

telnet mail.sunet.net 25

HELO mail.sunet.net

auth login

Test 

test123

MAIL FROM:&lt;[email protected]&gt;

RCPT TO:&lt;[email protected]&gt;

DATA 

hello world.

3. 

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

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

继续阅读