Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDO .send() question (specifying a sent-mail folder).
Message
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01244894
Message ID:
01244959
Views:
29
>>What I'm trying to do is automatically place a programatically generated email into the sent-mail folder of the account that is authenticated on the SMTP server as the sender of the message. The message sending works fine. I would just like to have the sent message be archived as if somebody had typed it into an email client.
>>
>>The CDO send method allegedly takes an optional parameter "savecopy". I have noticed that the send method in CDO flips an error in VFP when you try to use parameters with the call, even though it is documented as:
>>objMessage.Send( [saveCopy] [, showDialog] [, parentWindow] )
>>And I'm not exactly sure how the "saveCopy" parameter works anyway.
>
>The saveCopy is logical parameter that should accept .T./.F. or 1/0. The default value is True.

I get an error, when using either:
.send(.T.)
  ...or...
.send(1)
saying that a collection is not allowed.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform