Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cdo.message
Message
De
14/01/2009 02:17:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Cdo.message
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01373442
Message ID:
01373442
Vues:
71
I have simple piece of code which does not work

oMsg = createobject("CDO.Message")

oMsg.To = "aa@bb.com"
oMsg.Subject = "aaaaa"
oMsg.AddAttachment("c:\autoexec.bat")
oMsg.Send

Return error code is

OLE IDispatch exception code from ?:The message could not be sent to SMTP server.
The transport error code was 0x80040217. The server response was not available.

Any sugestion?

Incoming mail server is IMAP.

Thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform