Outlook & CDO Automation  
Author Message
RootAdmin





PostPosted: Tue Oct 14 16:31:27 CDT 2003 Top

Exchange Servers >> Outlook & CDO Automation

I have a VFP application that automates Outlook with CDO.
It works fine but I want to enable either the history, so
I can see sent messages in my "sent items" folder, and/or
enable the "return receipt requested" flag. The routine
currently uses command lines such as:

.FROM "(sender)"
.TO "(recipient)"
.Subject
.Textbody
.SEND

Does anyone know the magic words and syntax?

Thanks -

Exchange Server38  
 
 
Leemi





PostPosted: Tue Oct 14 16:31:27 CDT 2003 Top

Exchange Servers >> Outlook & CDO Automation Hi Dave T:

While I don't have a Visual FoxPro code example, I think you need to use
the MAPI_RECEIPT_REQUESTED flag in the MAPIMessage structure.

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP8 HAS ARRIVED!! --*
Read about all the new features of VFP8 here:
http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
Purchase VFP8 here:
http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retires Sept. 30th, 2003


>I have a VFP application that automates Outlook with CDO.
>It works fine but I want to enable either the history, so
>I can see sent messages in my "sent items" folder, and/or
>enable the "return receipt requested" flag. The routine
>currently uses command lines such as:

>.FROM "(sender)"
>.TO "(recipient)"
>.Subject
>.Textbody
>.SEND

>Does anyone know the magic words and syntax?

>Thanks -