Skip to Content
avatar image
Former Member

Questions Working with Mail receiver Adapter..!!


Mail adapter connection is working now when I downloaded the xsd and executed in the mapping as described in the blog.


Connection is working fine now, but im getting the below payload.

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



deepthi at

deepthi at

<Content>Testing purpose</Content>


The question is how to get my actual message which looks like below. this is the Idoc to file map and the resultant output file looks like below

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

<ns0:order xmlns:ns0="http://testing/xi/OrderProcessing">











How to send this file as email attachment using mail adapter. Do I need to use 2 maps?

looks like Mail adapter is working only when we use the xsd which is given above and by providing the required details.

Kindly help me if anyone worked on mail adapters.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 16, 2010 at 11:51 AM

    Hi Deepthi,

    Using XI ALL, you dont choose USE MAIL PACKAGE for It.

    Since your structure is not same as Mail Package , you need not to choose USE MAIL PACKAGE.

    If you want this payload as Attachment now choose the Keep Attachments.

    If you still face any problem let us know..


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      Always ASMA overides the Basic Config.

      Now in mapping create a Udf and set the value of THeaderSUBJECT as u want... the subject line will change accordingly..

      Now to change the name of file dynamaically we have 2 ways as per my knowlwdge...

      1. Go for Java mapping and in the mapping u set the file name dynamically.

      Please go through /people/stefan.grube/blog/2007/04/17/xi-mail-adapter-an-approach-for-sending-emails-with-attachment-with-help-of-java-mapping

      2. Using an adapter module. (Of course a small code required here, but if you are developing adapter module first time.. try to avoid it)

      I guess Java mapping is best option...