marclaz Posted October 12, 2006 Posted October 12, 2006 Hello,Here is the script:AutoItSetOption ( "TrayIconDebug", 1 ) #include <C:\Program Files\AutoIt3\Include\INet.au3> $s_SmtpServer = "mailserver.com" $s_FromName = "Me" $s_FromAddress = "me@home1.com" $s_ToAddress = "me@home2.com" $s_Subject = "Email trial" Dim $as_Body[2] $as_Body[0] = "Testing the new email udf" $as_Body[1] = "That's ok" $Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body,"", -1, 1) $err = @error If $Response = 1 Then MsgBox(0, "Success!", "Mail sent") Else MsgBox(0, "Error!", "Mail failed with error code " & $err) EndIfAnd here is the error mesage:16:42:22 2 <- 530 <me@home1.com>... MAIL requires AUTH16:42:22 <-> 250How could I provide the login/pwd required to be granted to the mail server?I am stuck on that issue. Thanks in advance for your help.
AzKay Posted October 12, 2006 Posted October 12, 2006 http://www.autoitscript.com/forum/index.ph...INetSmtpMailCom # MY LOVE FOR YOU... IS LIKE A TRUCK- #
cubax Posted February 6, 2007 Posted February 6, 2007 hello, why if I try to use this function _INetSmtpMail i got the error that the function does not exist? Is there smtg else to add / implement? thanks.
AzKay Posted February 6, 2007 Posted February 6, 2007 Update your AutoIt # MY LOVE FOR YOU... IS LIKE A TRUCK- #
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now