
attached Contact Item on server-side becomes attached Mail Item on client-side
The Send as RTF property is not exposed in the Outlook object model and is
read-only in the CDO model. Unless the recipient record is already set as
RTF, the message won't be sent in RTF.
One exception: If you work in CDO, not Outlook, and are sending to the
might try something like this:
1. Create your contact and message with the contact attached.
2. Save it.
3. Get the message and store ID and use them to open the just saved message
using CDO.
4. Set the recipients using the above format.
5. Send with CDO.
--
Sue Mosher
Author of
"Teach Yourself Microsoft Outlook 2000 Programming in 24 Hours"
"Microsoft Outlook 2000 E-mail and Fax Guide" (12/99)
Outlook and Exchange solutions at http://www.slipstick.com
Quote:
> Sue, Thanks for the response and the link to your website.
> http://www.slipstick.com/dev/sendform.htm.
> On this web page are instructions for manually ensuring that recipients of
> various Outlook Items meant to be sent as special forms actually receive
the
> items as special forms, instead of normal messages.
> All of these instructions must be implemented manually, e.g.
> "Check the box for Always send to this recipient in Microsoft Outlook
> rich-text format, and then click OK. "
> I am doing everything in code : creating a Contact Item , then attaching
the
> Contact Item to a Mail Item , creating a Recipient Item, addressing the
> Recipient Item , attaching the Recipient Item to the Mail Item's
Recipients
> Collection, and then Sending the Mail Item.
> Do you know how to ensure that my Mail Items are sent as special forms so
> that the Contact Item attachments show up as Contact Items on the
> client-side (when the attachment icon is double-clicked).
> I have looked over the properties of the following Outlook Objects and not
> been able to discover how to accomplish this.
> ContactItem
> MailItem
> MailItem.Recipient
> MailItem.Recipient.AddressEntry