Hi Everyone,
I am building an application in
VB 6.0 that needs to be able to send e'mails. I have included the MAPI controls MAPIMessage & MAPISession and all is working well on workstations that are using MS Outlook Express as their e'mail client. However, on the workstations that are using MS Outlook, everytime you send your message, the system generates an error message that reads 'Unspecified Failure has occured'
Not much help unfortunately.
Has anyone else seen this?
Any suggestions?
Thanks,
Alan Todd
P.S. Here is the code:
MAPISess.SignOn
MAPIMess.SessionID = MAPISess.SessionID
MAPIMess.Compose
MAPIMess.RecipAddress = To.Text
MAPIMess.AddressResolveUI = True
MAPIMess.MsgSubject = Subject.Text
MAPIMess.MsgNoteText = Body.Text
MAPIMess.Send
MAPISess.SignOff