Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cdo.message
Message
From
14/01/2009 03:09:20
 
 
To
14/01/2009 02:17:28
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01373442
Message ID:
01373446
Views:
16
See thread# 965391

>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform