xiaosan000 发表于 2011-12-31 11:37:24

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

#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 ; 安全连接




代码没错,编译了都正常,就是收不到那个测试的。谢谢了。急。哪位好心的朋友指点下。

80ren 发表于 2011-12-31 12:54:20

我一般用JMAIL

xiaosan000 发表于 2011-12-31 13:09:09

JMAL 这个能给个完整的代码吗?谢谢了可以把D盘的1.TXT,发到163 或是别的邮箱就行。谢谢。

kk_lee69 发表于 2012-1-6 16:23:22

把你的實際語法 傳上來....可能才可以找得出原因

itljl 发表于 2012-1-6 21:09:25

是不是把垃圾箱里了。
页: [1]
查看完整版本: 这段完成的代码,怎么不能收到信啊,谢谢了。邮箱收不到,开启了smpt了,谢谢。