Inserting Rich Text into Lotus Notes Email

AccessNub

Registered User.
Local time
Yesterday, 21:05
Joined
Jul 22, 2006
Messages
71
Hi All,

I have been sending plain text emails for a while, but now I have a project where the formatting of the text needs to be specific and I need to send as rich text.

I can use the rich text from a table, excel, or word, but I am at a loss on how to get the data to Lotus Notes.

Any ideas? TIA
 
No sooner than I ask, I figured it out....

Here is what is needed to make the body your HTML

Code:
Dim stream As Object
Set stream = MBSession.CreateStream
Set body = MailDoc.CreateMIMEEntity
Call stream.WriteText("Place HMTL Code Here")
Call body.SetContentFromText(stream, "text/html;charset=iso-8859-1", ENC_IDENTITY_8BIT)
 

Users who are viewing this thread

Back
Top Bottom