Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Jan 2005
    Location
    Wichita, Kansas, USA
    Posts
    209
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Email RTF (2000-SR1)

    If sending email through a form in Access that opens an Outlook session, with Access 2007, the form (email content) can be entered using rich-text, if I understand correctly. Will my email be sent and received in that rich text format? What would I need to know/do to make that work?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Email RTF (2000-SR1)

    The output will be saved as an .rtf file (a format compatible with Microsoft Word) and sent with the e-mail as an attachment. The attachment will be identical to the result of selecting File | Export... and choosing .rtf format.

    I would never e-mail (or print) a form. I always use a report for that. And I would send it in shapshot or in PDF format, for export to .rtf is one of the weaker features of Access.

  3. #3
    2 Star Lounger
    Join Date
    Jan 2005
    Location
    Wichita, Kansas, USA
    Posts
    209
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Email RTF (2000-SR1)

    I should have given more info...I am using the code from "Microsoft Knowledge Base Article 318881" for emailing from a form. I compose the message in a text box. The Outlook session is then created and the message is sent just as text. I'm wondering if using this same process and composing the message in rich text format in the text box, using Access 2007, if the message would then be sent and received properly by others?
    Thanks

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Email RTF (2000-SR1)

    It's confusing that you mention 2000 in the subject and 2007 in the question itself...
    No, the Body property of objOutlookMsg is just a text string, without any formatting. As far as I can tell, Microsoft hasn't added support for RTF format to the VBA object model in Outlook 2007 - see MailItem Object Members (Outlook 2007 Developer Reference).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •