码迷,mamicode.com
首页 > 其他好文 > 详细

how to send mail from 3rd

时间:2016-07-21 20:17:42      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:mail   send   3rd   

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.



本文出自 “苏兰网络” 博客,转载请与作者联系!

how to send mail from 3rd

标签:mail   send   3rd   

原文地址:http://zhangfang526.blog.51cto.com/8588740/1828327

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!