cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Mail Adapter

Former Member
0 Kudos

Hi All,

I am sending contents of a flat file via a file adapter to mail receiver adapter which is suppose to send the mail to the recipient defined in the message.

I am getting following error in the Adapter Monitor (http://host:port/mdt/amtServlet).

error occured: [2006-04-25T11:20:54Z] unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: com.sap.aii.messaging.util.XMLScanException: expecting start tag: Mail, but found Destinationmail_MT at state 1

Could you please help me resove this.

urn:pune:riz:mail is the namespace I am using. I do not know why it expects the namespace http://sap.com/xi/XI/Mail/30, and how to correct this error.

Thanks.

Riyaz

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

I guess use of namespace 'http://sap.com/xi/XI/Mail/30' and message type name 'Mail' is mandaotry while configuring the receiver mail adapter. Using anything other than this results in an error in the adapter engine.

Thanks,

Riyaz

Former Member
0 Kudos

hi,

just chk out these links

regards

jithesh

MichalKrawczyk
Active Contributor
0 Kudos

hi,

if you're using dynamic mail structure

have a look at my weblog:

/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

Regards,

michal

bhavesh_kantilal
Active Contributor
0 Kudos

hi riyaz,

The following exception com.sap.aii.messaging.srt.BubbleException, occurs if the port you are trying to connect to is wrong.

Also check if your SMTP server is running

for doing the same you just check with a mail client like Outlook Express, if you can access to the mail server?

Maybe you need user and password in the Mail Adapter configuration.

and also note the fact that you dont need to apply the port number, if the mail server uses the standard smtp port 25.

please go through this link also...it should help you:

https://websmp103.sap-ag.de/~sapdownload/011000358700004556712005E/HowTo_Mail_Adapter2.pdf

Regards,

Bhavesh