cancel
Showing results for 
Search instead for 
Did you mean: 

File to Mail Adapter

Former Member
0 Kudos

hi i m following thefile to mail adapter in the following link

in the sencond screen shot

wat do we mean by importing external definition

wat do we mean by mail package mail.xsd

could you send me a sample mail package

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

You need to download the mail . XSD from the Service market place.

This XSD is used when you want to implement Dynamic Mail Address.

You will find the link to the XSD in the Blog by Michal itself.

Regards

Bhavesh

PS : You missed the link in your post, but I am assuming that you are talking about the How to implement Dynamic Mail Address by Michal.

Former Member
0 Kudos

/people/community.user/blog/2006/09/07/email-reporting

Former Member
0 Kudos

could u send me the link of michal

prabhu_s2
Active Contributor
0 Kudos

hope u r luking for this:

/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

Former Member
0 Kudos

jaya,

you diretctly download it from service market place .

https://websmp205.sap-ag.de/~sapidb/012006153200000361852004E/ximail30_xsd.txt . you need userid and password for this.

regards

sreeram.g.reddy

bhavesh_kantilal
Active Contributor
0 Kudos

hi,

take a look at this blog,

<a href="/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address">how to implement dynamic mail address</a>

For XSD , use this link to download ,

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

Regards

Bhavesh

Former Member
0 Kudos

hi sreeram

on clicking ur link i get an xml file as below

do i need to just copy and paste the same as mail.xsd

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

- <!--

SAP takes no position regarding the validity or scope of any intellectual property or

other rights that might be claimed to pertain to the implementation or use of the

technology described in this document or the extent to which any license under such

rights might or might not be available; neither does it represent that it has made any

effort to identify any such rights.

Copyright © SAP 2003-2004. All Rights Reserved.

This document and translations of it may be copied and furnished to others, and derivative

works that comment on or otherwise explain it or assist in its implementation may be

prepared, copied, published and distributed, in whole or in part, without restriction of

any kind, provided that the above copyright notice and this paragraph are included on all

such copies and derivative works. However, this document itself does not be modified in

any way, such as by removing the copyright notice or references to SAP.

This document and the information contained herein is provided on an “AS IS”

basis and SAP DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO

ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY

IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

-->

- <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">

- <!--

  • Mail

-->

- <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

jaya,

yes you need to just copy paste the XSD and import under external defination in XI and you need to use it mapping.

please make sure copy it correctly otherwise any missing <> will have u problem

Regards

sreeram.g.reddy

bhavesh_kantilal
Active Contributor
0 Kudos

Did you try a Ctrl A and then a Ctrl C?

Instead, open the link in a browser and then go to File --> Save AS and save it as a .XSD file.

Import this into XI and then activate it and use it as the target message type.

Regards

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

Copy and paste does not work, You face an error when you try to activate it.

Instead you need to go to File and save the content using Save AS.

Regards

Bhavesh

Answers (1)

Answers (1)

prabhu_s2
Active Contributor
0 Kudos

<b>importing external definition</b>

importing ur xsd to IR for using it as DT in MT