简述配置SMTP服务及发送邮件测试

一. 安装SMTP服务。Server Manager->Features->Add Features->Check SMTP Server->Click "Install" button.
二. 配置SMTP服务。打开iis6.0 Manager->Right click [SMTP Virtual Server #1]->Click Properties->Select "Access" tab->Click Relay button->Check All except the list below and check "Allow all computer.."->Click OK->Return Delivery tab->Click Advanced button->fill Fully-qualified domain name->Click OK.

最后Right click [SMTP Virtual Server #1]->Click Start.
其他的选项都可以默认.
三. cmd测试发送邮件。
telnet ip port  //测试端口是否畅通,需要安装telnet服务
helo test.com  //通过键入以下命令开始通信
mail from:Admin@test.com  //邮件发送账号,这里就是AD中的登录账号
rcpt to:user@domain.com   //邮件接收账号
data  //关键字
Subject:test subject  //主题
this is test content  //内容
. //末尾需要加点,用来确定是邮件已结尾
quit  //退出

posted @ 2014-10-22 09:35  康熙来乐  阅读(1379)  评论(0)    收藏  举报