Hi All,

I'm using the following code to play around with
the MAPI control. It keeps crashing on the
MAPISession1.SignOff line. I get the following
error: "Method 'Signoff' of object 'IMapiSession' failed"

Does anyone know why? Can you tell me how to fix this?
Thank you VERY VERY VERY much!
-------
Sean

PS. I'm using Outlook '98


Private Sub cmdSend_click()
Form1.Caption = "Email Utility: SENDING"
MAPISession1.SignOn
MAPIMessages1.SessionID = Me.MAPISession1.SessionID
MAPIMessages1.Compose
MAPIMessages1.MsgSubject = "This is the Subject!" 'txtsubject.Text
MAPIMessages1.MsgNoteText = txtMsg.Text
MAPIMessages1.RecipAddress = txtTO.Text
MAPIMessages1.RecipDisplayName = MAPIMessages1.RecipAddress ' Or "John Doe" or whatever
MAPIMessages1.Send
MAPISession1.SignOff
Form1.Caption = "Email Utility: Messege Sent
Successfully!"

End Sub