cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for .XSD for mail for sending the mail through mail adapter

Former Member
0 Kudos

Hi Experts,

I am looking for .XSD file for sending mail.I am using Mail adapter to send mail to report error occur on creating PO document in my scenario to a specified department's email id.I searched for many blogs but not get any .XSD file for email.Looking for a suugesstion.

Thanks

Deepak

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Deepak,

Go through the below link and let us know if it helps!

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

Thanks!

Former Member
0 Kudos

Hi Raj,

When i click on the given link.It's asking for Usename and password.Is any any specific username and password we need.

Thanks

Deepak

justin_santhanam
Active Contributor
0 Kudos

Do you have S -user name and password? If not then never mind, Copy the below XSD, I took it from the link which I gave to you.

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

<xs:schema targetNamespace="http://sap.com/xi/XI/Mail/30"

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

xmlns:xs="http://www.w3.org/2001/XMLSchema">

<xs:element name="Mail">

<xs:annotation>

<xs:documentation>Mail package for XI - Mail Adapter</xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:element name="Subject" type="xs:string" minOccurs="0"/>

<xs:element name="From" type="xs:string" minOccurs="0"/>

<xs:element name="To" type="xs:string" minOccurs="0"/>

<xs:element name="Reply_To" type="xs:string" minOccurs="0"/>

<xs:element name="Content_Type" type="xs:string" minOccurs="0"/>

<xs:element name="Date" type="xs:dateTime" minOccurs="0"/>

<xs:element name="Message_ID" type="xs:string" minOccurs="0"/>

<xs:element name="X_Mailer" type="xs:string" minOccurs="0"/>

<xs:element name="Content" minOccurs="0">

<xs:annotation>

<xs:documentation>any type</xs:documentation>

</xs:annotation>

</xs:element>

</xs:sequence>

<xs:attribute name="encoding" type="xs:string"/>

</xs:complexType>

</xs:element>

<xs:element name="MailReceipt">

<xs:annotation>

<xs:documentation>Mail Receipt for XI - Mail Adaper</xs:documentation>

</xs:annotation>

<xs:complexType>

<xs:sequence>

<xs:element name="Server" type="xs:string"/>

<xs:element name="Format" type="xs:string"/>

<xs:element name="UseMailPackage" type="xs:boolean"/>

<xs:element name="Encoding" type="xs:string"/>

<xs:element name="Subject" type="xs:string" minOccurs="0"/>

<xs:element name="From" type="xs:dateTime" minOccurs="0"/>

<xs:element name="To" type="xs:string" minOccurs="0"/>

<xs:element name="Date" type="xs:dateTime" minOccurs="0"/>

</xs:sequence>

</xs:complexType>

</xs:element>

</xs:schema>

Former Member
0 Kudos

Hi Raj,

Thanks ,

i have imported the .XSD successfully.What are the fileds from XSD required for sending mail from each structures as we have to use this for sending mail from XI.In my case i will get Response only contain with the following fields: PayloadID,Timestamp,Version,ErrorCode,text.Do we have to format all values in mapping and map it to some fields.

Thanks

Deepak

former_member200962
Active Contributor
0 Kudos

The XSD means mail-package....now if you want that the Subject, To, From fields should be filled in the mapping then you use this mail-package and fill the appropriate fields.....you even have an option to fill the above fields through the receiver channel.

The data that you have to send through the channle should go into the Content field.....there are some blogs on how to use the mail adapter in receiver mode (to send data).....in case you want to know more you can just make a simple search on SDN and have a look.

Regards,

Abhishek.

Answers (0)