汉化版UDF里的Inetsmtpmail()的问题?
#include <INet.au3>$s_SmtpServer = "mail.dqyt.petrochina"
$s_FromName = "zougk"
$s_FromAddress = "zougk@petrochina.com.cn"
$s_ToAddress = "zougk@petrochina.com.cn"
$s_Subject = "test"
;Dim $as_Body
;$as_Body = "Testing the new email udf"
;$as_Body = "Second Line"
;MsgBox(0,'',$as_Body & @CRLF & $as_Body)
$Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject)
$err = @error
If $Response = 1 Then
MsgBox(0, "Success!", "Mail sent")
Else
MsgBox(0, "Error!", "Mail failed with error code " & $err)
EndIf
;返回错误代码是50:无法发送内容 不用汉化版的你发成功了? 回复 2# netegg
没有. 是自己搭建的域吗?自己搭建的 stmp 服务器有问题吗?用个outlook客户端看看能发邮件到邮箱没有 ? 回复 4# haodd
不是自己搭的,一直用foxmail可以正常发与接. 以上有问题,我的环境是win7 不是自己搭建的都要求验证 回复netegg
没有.
newuser 发表于 2010-11-16 17:04 http://www.autoitx.com/images/common/back.gif
即然没有成功那跟汉化了的udf有何关系?
页:
[1]