cancel
Showing results for 
Search instead for 
Did you mean: 

Exception in Email Receiver adapter

former_member187447
Participant
0 Kudos

Hi

I am doing a File to Email scenario and am trying to send the email with the option use mail package, but i am getting the following error.

Message processing failed. Cause: com.sap.aii.af.sdk.xi.srt.BubbleException: Failed to call the endpoint null \"null\"; nested exception caused by: com.sap.aii.af.sdk.xi.util.XMLScanException: expecting start tag: Mail, but found Messages at state 1

Accepted Solutions (0)

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Refer this blog

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

Your input file structure similar to this and namespace required to be http://sap.com/xi/XI/Mail/20

<?xml version="1.0" encoding="UTF-8"?>
<ns:MT_Mail_Sent xmlns:ns="http://sap.com/xi/XI/Mail/20">
  <Details>
    <To>***</To>
    <From>****</From>
    <Content>Sample</Content>
  </Details>
</ns:MT_Mail_Sent>