Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems sending mail via CDOS
Message
 
 
To
09/08/2007 06:07:33
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01246973
Message ID:
01247207
Views:
18
This message has been marked as the solution to the initial question of the thread.
You have to pass full file name (including full path) to the AddAttachment() method.

>Hi there , I'm getting into a problem when I try to send an Email using CDOSYS. If I launch the app from my pc (XP home) everything goes right but if I'm working on a XP professional PC I get the error 1429 which tells me that the "specified protocol was not found"
>
>the code which gives the error is :
>
>   IF TYPE("tafiles",1) = "A"
>    FOR lnCountAttachments = 1 TO ALEN(taFiles)
>
>* this is the line which gives the error***************
>     loAtt=.AddAttachment(taFiles(lnCountAttachments))
>****************************************************
>
>    ENDFOR
>   ENDIF
>
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform