cancel
Showing results for 
Search instead for 
Did you mean: 

Error in receiver Mail Adapter

Former Member
0 Kudos

Hi All,

I'm trying a simple Receiver adapter scenario, but I'm getting the follwing error in the Adapter Monitor:

'unable to call the mailer; com.sap.aii.messaging.srt.BubbleException: Failed to call the endpoint [null "null"]; nested exception caused by: java.lang.NullPointerException'

My message content on the receiver side is as follows:

<?xml version="1.0" encoding="UTF-8" ?>

<ns0:Mail xmlns:ns0="http://sap.com/xi/XI/Mail/30">

<Subject>Test Mail</Subject>

<From>abc@companyname.com</From>

<To>xyz@companyname.com</To>

<Content>Content3</Content>

</ns0:Mail>

My adapter Configuration is as follows:

Transport Protocol: SMTP

Message Protocol: XIPAYLOAD

URL: smtp://servername(complete host name)

Authentication method: Plain/CDRAM-MD5 (I've tried both)

Use Mail Package: Yes

Encoding: Base64

I am unable to figure out what could be wrong. Any suggestions?

Regards,

Puloma.

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi,

Try using some other mail server (eg Ocean mail server)...

Regards

Suraj

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi puloma,

i think this link will help u in configuring the mail adaptor

regards

jithesh

Former Member
0 Kudos

Hi Puloma,

The following exception 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,

abhy

Former Member
0 Kudos

Hi Puloma,

Following link has complete demo of Mail Adapter, hope that will solve your problem.

https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]

Thanks,

Prateek

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Puloma,

A Thread raised a few days back also talks of the same issue, have a look at it and check if it helps,

Regards,

Bhavesh

Former Member
0 Kudos

Hi Puloma,

Have a look at these threads..

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

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

This problem could be because u are using mail package format..

Thanks,

Prashanth