cancel
Showing results for 
Search instead for 
Did you mean: 

Sender Mail Adapter Error: exception caught during processing mail message;

Former Member
0 Kudos

HI , I am configuring mail to file scenario. Need to read mail content (no need to capture From,TO or Subject details) and create a file with the content in the mail.

Need to read mails from microsoft outlook. Exchange server has been configured for POP3 protocol.

Following are the details provoding in sender mail adapter:

URL: provided url in the format: pop://<server name>

Authentication method: plain

provided user credinetions to access mails.

poll interval - 1min

content encoding none.

processing parameters : quality of service-exactly once

Since there is no need to capture From,TO or Subject details, didn't select the option - use mail package.

Verified for unread mails in the mail box and made sure that there are few unread mails.

Also, created data types and other components in IR and completed mapping.

But after starting sender mail communication channel, getting error "exception caught during processing mail message; java.lang.NullPointerException" in RWB-adapter-communication channel monitoring.

please let me know what needs to be done to resolve this error.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

Use outlook express or similar to validate that your credentials are correct.

Try also auth. method CRAM-MD5

Former Member
0 Kudos

HI Stefan, i tried, but still it is giving same error. Yes, i am able to access outlook mail with the user credentials given in the communication channel to access exchange server.

I am using message protocol: xipayload . Also since i dont have to capture TO,from,subject details., created data type just with one element of type string, not in the standard format .Does this makes any difference.

Former Member
0 Kudos

Hi Roshan,

Did you get a resolution to your problem. I'm having exactly the same problem.

Regards

Mark.

prateek
Active Contributor
0 Kudos

First try to ping mail server from PI to make sure it is not a network problem. Then make sure that the mail sent to PI was in appropriate format. What entries do you have in the module configuration?

Regards,

Prateek

Former Member
0 Kudos

Prateek,Iam able to ping mail server from PI. I have following entries in adapter module:

sap.com/com.sap.aii.adapter.mail.app/PayloadSwapBean

sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean

Former Member
0 Kudos

I have only one line text in email

prateek
Active Contributor
0 Kudos

sap.com/com.sap.aii.adapter.mail.app/PayloadSwapBean

So thats a mistake. You have used this module incorrectly. Use localejbs/AF_modules/PayloadSwapBean

Regards,

Prateek

Former Member
0 Kudos

thanks for quick response. I tried, but still getting same message.

2 localejbs/AF_modules/PayloadSwapBean Local Enterprise Bean 1

Do i have to activate any mail services??