View Single Post
  #2  
Old March 21st, 2010, 08:01 AM posted to microsoft.public.access
Rick Brandt
external usenet poster
 
Posts: 4,354
Default Unable to send email in HTML format

Greg wrote:

I have the following code and for some reason I am unable to send email in
HTLM format. Email in formated in Rich Text format and I want to add bold
fonts and differnt color to different lines.


DoCmd.SendObject acSendNoObject, , acFormatHTML, strEmailList,
strCopyList, , strSubject, strMessage, strMessage2


SendObject only supports plain text. The acFormatHTML applies to the object
you might include as an attachment, not the text in the body of the Email.

For what you want you would have to automate an external messaging library
like CDOSys or Outlook.