Everybody,
I need to incorporate mail functionality into a VB6 application. The default mail system is Lotus Notes 6.5. I have read that this version of Lotus Notes is MAPI-enabled.
Here is a weird thing I see. When the user clicks a SendMail button, the below code is launched:
MAPISession1.SignOn
With MAPIMessages1
.SessionID = MAPISession1.SessionID
.Compose
.RecipAddress = "John Smith"
.MsgSubject = "Test memo"
.MsgNoteText = "This is testing data!"
.AddressResolveUI = True
.ResolveName
.Send True
End With
This code opens a window in Lotus Notes (this is what I expected) but - the To address box contains the recipient address followed by the body text on the first line and the recipient address on the second line:
John SmithThis is testing data!
John Smith
-- the Body section is blank.
Is there anything I can do to fix it or Lotus Notes is incompatible with MAPI.
Thanks,
Lev