找回密码
 加入
搜索
查看: 4120|回复: 4

[网络通信] 这段完成的代码,怎么不能收到信啊,谢谢了。邮箱收不到,开启了smpt了,谢谢。

[复制链接]
发表于 2011-12-31 11:37:24 | 显示全部楼层 |阅读模式
#include <SmtpMailer.au3>
$s_SmtpServer = "smtp.163.com" ; smtp服务器 address for the smtp-server to use - REQUIRED
$s_FromName = "keyrec" ; <strong><font color="#FF0000">邮件</font></strong>发送人 name from who the email was sent
$s_FromAddress = "xiaosan00@163.com" ; <strong><font color="#FF0000">邮件</font></strong>发送者地址address from where the mail should come
$s_ToAddress = "xiaosan00@163.com" ; <strong><font color="#FF0000">邮件</font></strong>发送给谁 destination address of the email - REQUIRED
$s_Subject = "key_test ComputerName:" & @ComputerName ;<strong><font color="#FF0000">邮件</font></strong>标题 subject from the email - can be anything you want it to be
$as_Body = 'test'
$s_AttachFiles = "" ; 附件地址 the file you want to attach- leave blank if not needed
$s_CcAddress = "" ; address for cc - leave blank if not needed
$s_BccAddress = "" ; address for bcc - leave blank if not needed
$s_Username = "xiaosan00" ; 用户名 username for the account used from where the mail gets sent - REQUIRED
$s_Password = "xiaosan123" ; 密码password for the account used from where the mail gets sent - REQUIRED
$IPPort = 25 ; 发送端口
$ssl = 0 ; 安全连接




代码没错,编译了都正常,就是收不到那个测试的。谢谢了。急。哪位好心的朋友指点下。
发表于 2011-12-31 12:54:20 | 显示全部楼层
我一般用JMAIL
 楼主| 发表于 2011-12-31 13:09:09 | 显示全部楼层
JMAL 这个能给个完整的代码吗?谢谢了  可以把D盘的1.TXT,发到163 或是别的邮箱就行。谢谢。
发表于 2012-1-6 16:23:22 | 显示全部楼层
把你的實際語法 傳上來....可能才可以找得出原因
发表于 2012-1-6 21:09:25 | 显示全部楼层
是不是把垃圾箱里了。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-15 13:50 , Processed in 0.076145 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表