seifbk Posted April 18, 2011 Share Posted April 18, 2011 when i run the script a msgbox shown up "error code 2 :description de la transport dans sa connexion au serveur Thesmtp server [yahoo) plus.smtp.mail.yahoo.com $IPPort = 465 ; port used for sending the mail $ssl =1 the script atachedE-Mail.au3 Link to comment Share on other sites More sharing options...
Skitty Posted April 18, 2011 Share Posted April 18, 2011 try using this address for your SMTP server.smtp.mail.yahoo.com Link to comment Share on other sites More sharing options...
seifbk Posted April 18, 2011 Author Share Posted April 18, 2011 Doesen't Work Plz i need help Link to comment Share on other sites More sharing options...
sahsanu Posted April 18, 2011 Share Posted April 18, 2011 Doesen't Work Plz i need help You need to change the following in the function: From: $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 0 To (you need to activate it): $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 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