Jump to content
Sign in to follow this  
seifbk

Error number 2 in _inetmailsmtp help

Recommended Posts

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 atached

E-Mail.au3

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...