Error in receiver Mail Adapter of PI 7.1

Error in receiver Mail Adapter of PI 7.1
Q: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.

Ans:
URL = SMTP url given

I hope you are making an entry as smtp:// in the URL section
1. I had imported the XSD given & Mapped only Subject, From, To, Content fields.
2. MAIL Attributes
---------
Thanks for the response.

I followed the steps in the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1361

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.
-----------
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://

Check this thread :http://forums.sdn.sap.com/thread.jspa?messageID=6955347

and this blog to confirm your settings: https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1798
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.

SAP Developer Network SAP Weblogs: SAP Process Integration (PI)