cancel
Showing results for 
Search instead for 
Did you mean: 

Error in receiver Mail Adapter of PI 7.1

sriram_devarapalli
Participant
0 Kudos

Hi Team,

I had configured Mail Receiver Adapter in PI 7.1 with the following Parameters.

I had imported the XSD given & Mapped only Subject, From, To, Content fields.

In Receiver Communication Channel parameters are

*Transport Protocol = SMTP

Message Protocol = XIALL

URL = SMTP url given

Authentication Method = Plain

User/ Password given for my id only

MAIL Attributes

From, To = my own company id

Content Encoding = base64*

These are the seeing i had done for Mail Receiver Communication Channel

When I test by HTTP, i am getting Succesful in Moni & in Adapter i am finding this error.

com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error: invalid XIMailAdapter channel 'b7b80e17d9e336b38354f663c01aed68'

Mail Settings have been done in System, got even Test mails from System.

Thanks in Advance,

Sriram

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos
URL = SMTP url given

I hope you are making an entry as smtp://<companyurl> in the URL section

1. I had imported the XSD given & Mapped only Subject, From, To, Content fields. 
2. MAIL Attributes
From, To = my own company id

Are you trying to provide the To, From email ids both in the CC and also in the XSD?.....it should either be in the XSD (when you check Use Mail Attributes) or in the CC (when you uncheck Use Mail Attributes)....since it is SMTP --> XIALL the To, From, Subject should be mentioned in the CC .... the email package XSD is of no use here...even if you create a DT and try to pass this message structure it will pass.

Regards,

Abhishek.

sriram_devarapalli
Participant
0 Kudos

Hi Abhishek,

Thanks for the response.

I followed the steps in the blog /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

I had created a sender DT with seperate Namespace, is it that I need to maintain SAP Namespace.

If I do not need XSD then How can I have Interfaces, Mappings.

Even in Adapter side i am getting Short Log as not initialized for Mail Adapter.

Thanks in Advance,

Sriram

former_member200962
Active Contributor
0 Kudos

See, the XSD that you are referring or the blog is referring needs to be imported under External Definitions and directly use it in message interface & message mapping ....you dont again need to create a DT based on that XSD!......you will need a DT & MT just on the sender side (in your particular case)

So just create the DT for sender (you seem to have done this part).....import the XSD into IR from this location

https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt

use it on the receiver side.....The only thing that i wanted to mention is that when you enter the Subject, To, From details in CC you can even design your own DT for receiver side

I hope that you are entering the URl in this format --> smtp://<the url>

Check this thread :

and this blog to confirm your settings: /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

Regards,

Abhishek.

Answers (0)