Hi All Domino Experts, I am writing a agent which send a mail.
Its working well in web as well as notes.
But when I am sending the mail in rediff or yahoo. The Style is not appearing. Like Color, Font.
But in Notes Mail Box Every thing is working.
Please guide me How I will do that.
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
Dim doc As New NotesDocument(db)
Call doc.AppendItemValue("From", session.UserName)
Call doc.AppendItemValue("Subject", "Meeting time changed")
Dim richStyle As NotesRichTextStyle
Set richStyle = session.CreateRichTextStyle
Dim richText As New NotesRichTextItem(doc, "Body")
richStyle.FontSize = 12
Call richText.AppendStyle(richStyle)
Call richText.AppendText("The meeting is at ")
richStyle.FontSize = 16
richStyle.NotesColor=COLOR_BLUE
Call richText.AppendStyle(richStyle)
Call richText.AppendText("3:00")
richStyle.FontSize = 19
Call richText.AppendStyle(richStyle)
Call richText.AppendText(" not 2:00")
Call doc.Save(True, False)
Call doc.Send(False,"pawanlucky@rediffmail.com")