Jump to content
Sign in to follow this  
seifbk

Error number 2 in _inetmailsmtp help

Recommended Posts

seifbk

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
Skitty

try using this address for your SMTP server.

smtp.mail.yahoo.com


Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites
sahsanu

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.