Hi All, I am sending a mail through script. The Script is:-
=====================================
Dim session As New NotesSession
Dim db As NotesDatabase
Dim mdoc As NotesDocument
Set db=session.CurrentDatabase
Dim mdoc As NotesDocument
Dim bodyitem As NotesRichTextItem
Set mdoc = db.CreateDocument
Set bodyitem=mdoc.CreateRichTextItem(“body”)
Call bodyitem.AddNewline(2)
Call mdoc.Save(True,True)
subject=udoc.Subject(0)
body=udoc.Body(0)
mdoc.form=“Memo”
mdoc.subject=subject
Call mdoc.Send(False,"pawanlucky@rediffmail.com")
=====================================
Its working well. MAil is going. But the problem is that I want to insert a picture in the mail also. Like my compnay logo.
Is it possible that with out using notesstream class can i insert a image in NotesRichTextItem.
The image is in my image resource.
Please guide me.