abi Posted April 17, 2008 Share Posted April 17, 2008 Hi Does anybody have a working email notification, would that send out an email that installation is completed ? Thanks for your help Link to comment Share on other sites More sharing options...
Paulie Posted April 18, 2008 Share Posted April 18, 2008 Check out this in the helpfile: _INetSmtpMail() Link to comment Share on other sites More sharing options...
abi Posted April 18, 2008 Author Share Posted April 18, 2008 Check out this in the helpfile: _INetSmtpMail() Thanks for your respond. However have try this before and it has work, because the mail server, I'm trying to use, needs an authetication (username & password) Can anybody tell me, how to modify the sample below to access a mail server that requires authetication ? #include <INet.au3> $s_SmtpServer = "mysmtpserver.com.au" $s_FromName = "My Name" $s_FromAddress = "From eMail Address" $s_ToAddress = "To eMail Address" $s_Subject = "My Test UDF" Dim $as_Body[2] $as_Body[0] = "Testing the new email udf" $as_Body[1] = "Second Line" $Response = _INetSmtpMail ($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body) $err = @error If $Response = 1 Then MsgBox(0, "Success!", "Mail sent") Else MsgBox(0, "Error!", "Mail failed with error code " & $err) EndIf Link to comment Share on other sites More sharing options...
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