Click to See Complete Forum and Search --> : API SendMessage


Varghese
May 18th, 1999, 02:31 PM
Hello WOrld,
I am having a problem is MAPISendMessage.
This function resturns zero (SUCCESSFUL), but the mail returns with the follwoing error message.

the following recipient(s) could not be reached:

'saju varghese' on 5/18/99 12:03 PM
No transport provider was available for delivery to this recipient.

Can someone help me ? Thanks in advance
Varghese

georgiag
March 24th, 2000, 01:20 PM
Have you received a reply for your posting? I am experiencing the same problem with MSFT Outlook. Please reply with any help!!!

Thanks,
GG

wenyen
March 29th, 2000, 09:48 PM
Hi, I am not sure what your problem is, and the whole situation. But I guess the recipient's address was wrong or it is not in the address book. Hope this helps...

By the way, I might need your help regarding this.
I am writing an email/fax application using the VB MAPI control. And the code is basically like this:

MAPISession.SignOn
MAPISession.NewSession = True

MAPIMessages.SessionID = MAPISession.SessionID

MAPIMessages.Compose
MAPIMessages.MsgIndex = -1
MAPIMessages.RecipAddress = "xxx@xxxx.xx"
MAPIMessages.MsgSubject = "xxxxx"

MAPIMessages.AttachmentIndex = 0
MAPIMessages.AttachmentType = mapData
MAPIMessages.AttachmentPathName = "c:/test.txt"

MAPIMessages.Send

I have both Microsoft Outlook and Outlook Express on my machine. Everything looked pretty good as I was able to get my application to work with Outlook Express, but it fails when using Microsoft Outlook.

The error occurs on the line:
MAPIMessages.Send
and I get the following message:
"Unspecified Error Occurred 32002"

Is there any known problems using the MAPI control with Microsoft Outlook? Any information on this??

Thanks in advance.

wenyen
March 29th, 2000, 10:00 PM
I am facing the same problem here, any good news??

By the way, below is the situation I am having, hope you could help.

I am writing an email/fax application using the VB MAPI control. And the code is basically like this:

MAPISession.SignOn
MAPISession.NewSession = True

MAPIMessages.SessionID = MAPISession.SessionID

MAPIMessages.Compose
MAPIMessages.MsgIndex = -1
MAPIMessages.RecipAddress = "xxx@xxxx.xx"
MAPIMessages.MsgSubject = "xxxxx"

MAPIMessages.AttachmentIndex = 0
MAPIMessages.AttachmentType = mapData
MAPIMessages.AttachmentPathName = "c:/test.txt"

MAPIMessages.Send

I have both Microsoft Outlook and Outlook Express on my machine. Everything looked pretty good as I was able to get my application to work with Outlook Express, but it fails when using Microsoft Outlook.

The error occurs on the line:
MAPIMessages.Send
and I get the following message:
"Unspecified Error Occurred 32002"

Is there any known problems using the MAPI control with Microsoft Outlook? Any information on this??

Thanks in advance.