PDA

Click to See Complete Forum and Search --> : MAPI error


jini
Jan 24th, 2000, 04:25 AM
I have this code which is suppose to send an email when a certain event happens. But It returns me the email with this error:
"No transport provider was available for delivery to this recipient."

Any help would be appreciated.

Thanks,

CODE:
MAPISession1.SignOn
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.Compose
MAPIMessages1.MsgSubject = "ABC
MAPIMessages1.RecipAddress = "johndoe@abc.com"
MAPIMessages1.RecipDisplayName = MAPIMessages1.RecipAddress
MAPIMessages1.Send False
MAPISession1.SignOff

Abie_Martin
Jan 25th, 2000, 12:15 AM
Hi,
I've got exactly the same problem, using Lotus Notes as Mail service.
Please copy me on any solutions to this problem!

Jennifer_R
Feb 14th, 2000, 05:02 AM
I have also got the same message and the only way I have found to get rid of it is to leave the recipAddress balnk and put the recipAddress in the RecipDisplayName.

Have no Idea Why