Mail adapter multipart message problem

Hello everyone.
I'm experiencing problem with receiver mail adapter. In XIPAYLOAD mode (keeping attachments, use mail package, content encoding - none) messages that has multipart mime type (multipart/alternative exactly) are processing strange way (messages are made from MS Outlook). XI keeps service information and change  some symbols words become  unreadable. For example.
--_000_135E4C842D542241894122FD84C52E1D4134A33A81mail2itransit_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello world! This is text of multipart message! --_000_135E4C842D542241894122FD84C52E1D4134A33A81mail2itransit_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello world! T= his is text of multipart message!
000135E4C842D542241894122FD84C52E1D4134A33A81mail2itransit_
You can see T= his instead of This. And also why in main payload (<Content> field) it keeps info about all parts of  whole message.
Attachments are kept correctly.
Any suggestions how to avoid this problem and keep just useful info (just text with correct symbols)?
I'm running XI 7.0 SP18.
Thanks in advance.
Edited by: Yaroslav Isachenko on Mar 24, 2010 2:31 PM
Edited by: Yaroslav Isachenko on Mar 24, 2010 2:42 PM

An OSS would not help, as this is an Outlook issue.
As far as i know, multipart/mixed works with all mail systems. maybe you give a try?
Could you post the first lines of your entries in Content tag and the entry and content-type also?

Similar Messages

  • Sender mail adapter : no messages and no error log

    Hello,
    I have configured a sender mail adapter to read mails from the inbox. I have used IMAP protocol. URL is specified as imap://EMHBSEXM01/Inbox. User name and password is also specified properly. I have kept poll interval to 1 minute. Messages in the inbox are in unread status. But the mail is not getting processed. I do not see anything after 1 minute. I tried using generate fetch report flag. But even then it does not create any message in SXMB_MONI. I checked runtime workbench for Mail adapter but I do not see any message for the same. Is there something that I am missing?
    Thanks,
    Dev

    Hi All,
    I chekced your responses and tried accordingly. Our basis team has given me new link now and the error message has changed. I am getting following error message.
    exception caught during processing mail message; java.io.IOException: unexpected login response; read 001F BAD Command received in Invalid state.
    Does anyone have any idea what this error is?
    Thanks in advance,
    Devendra

  • Dynamic Mail Adapter using message split

    Hi,
    My requirement is like this:
    one flat file will come
    Sample Structure:
    Email_address   Custom_ID        Status             Comments   
    Many records will be there in that
    Sample data:
    som @ xi.   1234       approved        blablabla
    ram @ por   1236       approved        blablabla
    par @ mdm  1237      approved       blablabla
    vin @ gp      12348     rejected        blablabla
    Pi needs to pick the 1st record and construct an email with following information:
    email address: som@xi
    Likewise every record needs to be sent as email, and club the records in one mail if the mail address is same.
    How to go by!
    I have read the Micheals Blog:
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    And gone through the SAP note and downloaded the XSD.
    The XSD is may works only for one record, also occurance in XSD is (1,1).
    if Any other approach Please suggest me.

    I also tried that it is saying
    " Cannot load schema with the target namespace http://sap.com/xi/XI/Mail/30 to namespace http://blabla.com/IMG/INF2199"

  • Separate IDOC-Types by mail adapter

    hello together,
    i have the following problem.
    a customer sends an order by mail to us. over mail adapter this message goes to the SAP system. the mail-subject contains description where we can separate the single message. this single messages are all from the same idoctype we have defined in the mail adapter:
    shippd, order, stock .... => SPCORD-idoctype
    and now the problem. the customer want / have to so send an invoiceack (an other idoctype- SPCINV)!!
    summary: we have TWO idoctypes but only ONE possibility to   specify the idoctype in the mailadapter, haven't we?
    we just one mailbox where all messages from the customer come into.
    what can we do? is there another solution / possibility to solve the problem?
    thanks a lot
    bye alex

    Hi,
    My connection is working now when I downloaded the xsd and executed in the mapping as described in the blog.
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    Connection is working fine now, but im getting the below payload.
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
      <Subject>TESTING</Subject>
      <From>deepthi at testing.com</From>
      <To>deepthi at testing.com</To>
      <Content>Testing purpose</Content>
      </ns1:Mail>
    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">
         <document_type>ZU</document_type>
         <vendor_number>200000</vendor_number>
         <vendor_email_address/>
         <vendor_address_line_1>XXXXXX</vendor_address_line_1>
         <vendor_address_line_2>XXXXXXXXX</vendor_address_line_2>
         <vendor_address_line_3>123242343244566</vendor_address_line_3>
         <vendor_address_line_4>US</vendor_address_line_4>
         <delivery_address_line_1>1433</delivery_address_line_1>
         <delivery_address_line_2>test</delivery_address_line_2>
    </ns0:order>
    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.
    Thanks
    Deepthi,

  • Error when using Variable Transport Binding in Sender Mail Adapter

    Hi,
    I am using the Sender Mail Adapter to receive an email, convert the attached tab delimited text file into xml and map it to an IDOC.
    I am using PayloadSwapBean and MessageTransformBean in order to do this, and this all works perfectly.
    I am now trying to access the Adapter Specific Message Attributes to retrieve the SHeaderFROM attribute from the message and map it to a field in the idoc.
    However when I check the "Variable Transport Binding" option in the Advanced tab of the mail adapter, the message no longer goes through to SXMB_MONI and I get the following error in the Java logs.
    Transmitting the message to endpoint http://sapserver:53500/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Error during parsing of SOAP header.
    Any ideas why this is happening?
    Thanks,
    Brad

    Hi Luciana,
    Honestly, I cant really remember how or if it was resolved and I was just helping out on the issue, but another consultant continued with it, so unfortunately I cant be any help on this.
    Good luck!
    Cheers,
    Brad

  • Receiver  Mail adapter Error

    HI  All
       i    am doing   a   scenario     SFTP    to mail adapter,   i  am sending  a    file    to    SFTP ADAPTER  and   Mail adapter   send  the   mail  to    clint,   i am   using  java  mapping ,   i  have  checked  the message in    RWB  mesage  is    fail   in mail adapte,
       ERROR  :   Message processing failed. Cause: java.lang.Exception: java.io.IOException: server does not support PLAIN or LOGIN authentication
      anyone  suggest  me     soloution?

    Hi Pankaj,
    Remove your mail server user id and password and keep authentication mode as Plain and try in mail adapter configuration.
    You can try accessing ID from within IR via menu options or via a direct URL.
    Thanks,

  • Mail Adapter Problem --- Unable to save deleted messages

    Hi All,
    I'm using a sender mail adapter.
    The XI adapter is polling the mailbox properly.
    I have choosen the option <b>Delete Messages Once Read</b> and I have also mentioned a folder for the deleted messages.
    But the messages after processing are deleted from the inbox and not being moved into the folder i specified for <b>deleted</b> messages.
    Request you ppl to help me out!!
    Cheers!!
    Sidharth

    Sidharth,
    Where have you created the folder?
    ---Satish

  • Duplicate messages in sender mail adapter

    Hi,
    We are using the sender mail adapter to retrieve messages from an IMAP mail server. Messages are being picked up correctly, but when we have large messages (with e.g. PDF attachments) things go wrong.
    The time it takes to retrieve the mail message is longer than the poll time. In this case the adapter logs in again in the mail server to retrieve the first new message from the inbox. However the first adapter threat is already retrieving that message. This results in a duplicate message in XI. (messages are set to be deleted when read).
    We have tried all kind of settings in the adapter but without any results. The adapter works fine with very small messages.
    Does anyone recognize this problem? 
    PS. please do not post links to sap help or the mail adapter FAQ. Useful answers will be rewarded.
    Thanks,
    Christiaan Schaake

    Hi Christiaan !
    I understand your problem. Could you set your IMAP account to avoid multiple simultaneous sessions?? maybe if there is only one session allowed per user or per time, then parallel XI threads will not be able to start downloading the messages.
    If you cannot use a longer poll interval, then you could develop an adapter module for the Mail sender adapter that could be used to verify if the current mail is just being downloaded by other thread. This adapter module could check the unique mail data (date/time + subject + etc.) against a local table.
    Regards,
    Matias.
    PD: please award points if helpful.
    Message was edited by:
            Matias Denker

  • Receiver Mail Adapter message with PDF attachment

    Hi.
    We are trying to generate emails from the mail adapter that includes the plain text in the body of the resulting email and an attached PDF file. We receive the following structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:newMailRequest_MT xmlns:ns0="http:/pdk/sap/TorstenTest">
       <Sender/>
       <Receiver/>
       <BodyContent/>
       <Subject/>
       <Attachment/>
    </ns0:newMailRequest_MT>
    I have set up an interface and mail adapter to be able to produce emails with plain text in the body. I used SAP note 748024 for this.
    So right now I can make XI send emails with dynamic mail addresses. My problem lies in sending attached files with the mails as well.
    I have read most of the threads in here, but none of them seem to answer just how to include the attachment. Which field in the 'Mail' message type is used for the attachment??
    What needs to be added to the communication channel and adapter for it to include attachments, while the body of the mail still keeps the plain text message??

    hi
    I have used the following links to send the file as an attachement and as payload.
    so it may help u.
    links:
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options , mail attatchment
    Sender mail adapter - PayloadSwapBean - Step by step - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    points if helpful.
    regards
    sreeni

  • Adapter-Specific Message Attributes in MAIL adapter

    Hi,
    I need to access a ASMA in the mail adapter (SHeaderSUBJECT) but I am not sure the mail client is sending it.
    Therefore how can I ensure/make the mail client send this information ?
    The e-mail is coming from a Lotus Domino system if this helps in any way.
    Cheers
    Colin.

    Hi,
    I have tried using "Mail Package" and the received message looks like this:
    *Mail Message*
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <xim:Mail xmlns:xim="http://sap.com/xi/XI/Mail/30" encoding="base64">
      <Subject>NewFileName.XLS</Subject>
      <From>Lawrence.Attrilldomgen.com</From>
      <To>axon.maildomgen.com</To>
      <Content_Type>multipart/related; boundary="=_related 005864BF802574F2_="</Content_Type>
      <Date>2008-10-30T16:02:12Z</Date>
      <Message_ID><OFD7EE19C8.01B0E188-ON802574F2.0053C9AA-802574F2.005864C0domgenr5.com></Message_ID>
      <X_Mailer>Lotus Notes Release 7.0.2 September 26, 2006</X_Mailer>
      <Content>DQotLT1fcmVsYXRlZCAwMDU4NjRCRjgwMj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GNG YmRHRXI3YXcwNU9WSGU2ZCtGbUZCTFlqZU9INmYxcTI2TkE0TA0KSFhBa2ZyMTU1a2ljWTJzMjdh cXpabGk5bjNVRE5BNXdyVytBcUlkandGQ1lzZVM1U0IvaHZmdldvOTBFejNGbmQ4M2RndmZnNElu ag0KWUx5QnlBV0RsV21tbm5VeFhTYmRUMXJ4cEdCdTlLMWwzM0hmRFpmYWZnQmR3SUVRSGdESVUy dzMwUlgvVjNwT0xVVlhiQXBXTkY5QQ0KRjZ4RkhnbkFDUmVlYXNrWlZ0cHZHYmdHMElEWFRRWVha Z2lPMVZ4bjhwbFZ4SEJER0tiV1dvUVJnWUZ4eVNtSGdWWG0zYmplUjdXTg0KNk5HSDZLSEVnQUlM bUNpa2FSbDhnSU1JVndIVUpFQWtDQUVDQ0l3MWljTlZGM1RRd1g5dFFWZWdUMTF4RmxOem0zVzFB SmRlc29XVg0KVVV4VkdaWnRJZTVrMjVaZENpcG9uOVpsVnVCMWVQWjRFNTZYQ3VYb29CUjEycytt bkhvcWFsbWdxblRQcWFnNmNVT3F4YkN3RGF1dw0KcHZGcUU2dkM2Z1FNMzdEeWhRbXVtbkNDQzZU MHNTc2JNZkNSaUsxUGlIRkhKTHNBdzBnTE1xVEJEQzdNbEpKQ3JjZ3VZY3Nkb1RTNw0KeFIrWUtO SUlJYzQ4Z20yMlNjZ3dNd2tMeTNKcmpRa3R3SXVHREdpUUs4MHk2RExoNmgwMHFLTUtEQ2JBc0Vz TDRFQnlnZ25pN0NGTw0Kdmd3MzdQRERFTDhUQkFBNw0KLS09X3JlbGF0ZWQgMDA1ODY0QkY4MDI1 NzRGMl89LS0=</Content>
      </xim:Mail>
    However, I also have an attached CSV file which I need to pass - I am using the PayloadSwapBean for this.
    Therefore, the question I now have is this:
    How do I use the <Subject> field from the original received message ? It is lost once I call the PayloadSwapBean so I am stumped on how to get it ?
    Any ideas ??
    Kind regards
    Colin.

  • XI 3.0 SP 20 - Problem with adapter-specific message attributes

    Hi everyone,
    I am using XI 3.0 SP 20, in SP 17 i read who SOAP adapter and mail adapter have additional adapter-specific message attributes in the message header
    But in my XI SP20 dont have that function.
    There arent problem in installation of SP20 (no show errors).
    Can anybody tell me what is happening? Why dont have "adapter-specific message attributes" ?
    Thanks

    Hi,
    you have to import the SAP XI content, SAP BASIS 6.40 have to be updated. Because the new attributes for adapters are saved in the Adapter Metadata located in the Integration Repository. If you have not update the content, you will not be able to find new options.
    Start IR and navigate to the SAP BASIS 6.40, double click on this SWCV and click on the Details tab, you should be able see which Support Package the SAP BASIS has at moment. Update it to SP20 if it is still SP17. You will be able to see the required new attributes in Mail Adapter.
    regards,
    Hai

  • Problem wiht sender mail adapter.

    Hello.
    I have a mail to RFC scenario.
    There sender mail adapter fails if the mails in the inbox is encoded in specific formats.
    I think the mail adapter does not understand this encoding.
    Below is the error i got.
    error occured: [2008-09-08T08:22:25Z] 5 new messages found; processing message 1exception caught during processing mail message[1]; java.io.UnsupportedEncodingException: utf-7; processing message 2exception caught during processing mail message[2]; java.io.UnsupportedEncodingException: utf-7; processing message 3exception caught during processing mail message[3]; java.io.UnsupportedEncodingException: utf-7; processing message 4exception caught during processing mail message[4]; java.io.UnsupportedEncodingException: utf-7; processing message 5exception caught during processing mail message[5]; java.io.UnsupportedEncodingException: utf-7; action[s] taken
    Is there a solution 2 overcome this problem.
    I tries to use a module called "TextCodepageConversionBean" but it was not of much use.
    Please help.
    Thanks,
    Vignesh

    HI
    Mail adapter does not understand "UTF-7" as shown in the error.
    Mail adapter supports only
    base64
    Quoted-Printable
    http://help.sap.com/saphelp_nw70/helpdata/EN/23/c093409c663228e10000000a1550b0/content.htm
    If you want to make your adapter more than this. Then create a custom module using open libraries that will allow you to read many Encoding standards.
    Thanks
    Gaurav

  • Sender Mail Adapter problem

    Hi,
    I am having problems to get my sender mail adapter running.
    I configured it with the following parameters:
    <i>Transport protocol: POP3
    Message Protocol: XIALL
    Adapter Engine: Integration Server
    URL: pop://server
    username + pw
    poll intervall: 1 Min.</i>
    The adapter is active and if I look into the adapter monitoring everything seems to be fine (green light).
    But the adapter doesn't poll the messages from the mail account and I cannot see any activity in the message monitoring.
    If I try the same configuration with Thunderbird everthing works fine. Also my receiving mail adapter works without any problems for the same account.
    Do you have any idea what the problem could be or how I could find out what my mail adapter is doing?
    Thanks,
    Andreas

    Hi all, hi Andreas,
    have you solved you problem? Could you please describe how you did it.
    I have the same situation and I haven't any ideas how can I manage it.
    I checked all parameters and compared they with documentation. Everything seems to be ok.
    I didn't see any messages in the message monitoring, but in the chanel monitoring I found follows:
    exception caught during processing mail message; java.net.ConnectException: Connection refused: connect
    I tried the same configuration with email client and it worked. I tried change POP on IMAP with URL imap://server/folder. It didn't work also.
    Could you please help me?
    Thank you in advance,
    Anna

  • Problem with Sender Mail Adapter

    Hi experts,
    I'm developing a Mail-XI-RFC scenario and have a problem in the mapping. I have created a MI based in the structure of the attachment of the mail. I have a mapping that does xml->RFC and tests OK. When I send a mail to the account of the sender adapter, the system generates two payloads, the 'MailMessage' and the 'MailAttachment-1' that is the xml to map, but I have an error in SXM_MONI 'Cannot produce target element /ns0:...RFC name'.
    The Sender Adapter configuration uses message protocol XIPAYLOAD, I have checked Mail Package, base 64 and keep Attachments. Interface namespace is the same as the xml and default interface name is the message interface created of type my xml.
    What is wrong?
    Best Regards,
    Alfredo Lagunar.

    In this case you need to use payloadswap bean for swapping the payload and attachment
    http://help.sap.com/saphelp_nw04/helpdata/en/70/f3cbad30ee479cb15672219f3405f0/frameset.htm
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step check this
    Rajesh
    Edited by: Rajesh on Feb 4, 2009 2:52 PM

  • Dynamic config for attachment without any message mapping in mail adapter

    Hi,
    In our scenario, we are not using any message mapping as a specification.A fixed length file is sent from source via proxy as an attachment to the mail.
    here the issue is with the file name of the attachment. how do we configure the attachment file name dynamically with out using any message maping.
    Regards,
    Divya

    Hi Divya,
    I understand you want to set name for mail attachment.
    SAP Note: Mail Adapter sapnote_0000856599
    Q: Can I choose the name of an attachment in the mail?
    A: Yes. Most mail clients use some heuristics based on some *MIME headers to derive the name of an attachment.* The MIME headers involved in most heuristics are Content-Type, Content-Description,and Content-Disposition. When you create an XI message, the XI payload name is automatically set in the Content-Description. If you want to change or set all of these headers, you can use the MessageTransformBean module (Note 793922) [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/57/0b2c4142aef623e10000000a155106/frameset.htm]
    in the adapter framework.
    Q: How can I set the file name of a mail attachment?
    There are several MIME headers that play a role in how the client retrieves the file name of an attachment. Unfortunately, this behavior differs among various mail clients. The reason for this inconsistent behavior comes from the fact that this mechanism has been extended incrementally. The old way is to use the name parameter in the Content-Type header as specified in RFC1341. For example, you can set the content type of an XML attachment as:
    Content-Type: application/xml; name="abc.xml"
    RFC1521 discourages the use of this name parameter in anticipation of the new header Content-Disposition, which is defined in RFC1806.
    With this Content-Disposition header, you can set the file name as:
    Content-Disposition: attachment; filename="abc.xml"
    Some clients may show the Content-Description value as the file name. The Content-Description header is typically used to associate some descriptive information to an attachment (RFC1341) as in
    Content-Description: my xml file
    To avoid potential interpretation problems, it is recommended to combine the use of these headers.
    Regards,
    Raghu_Vamsee
    Edited by: Raghu Vamsee on Feb 3, 2011 12:23 PM

Maybe you are looking for

  • Problems importing double disc CD albums?

    I'm trying to import a brand new copy of the Beatles 1967-1970 double disc greatest hits CD, but have run into a rather odd snag. The first disc imported fine, but when I loaded the second disc into my computer it was read as the first disc. My Itune

  • Including JSP fragment file in a JSP

    Hi, there, I'm trying to include a fragment JSP file (with an extension .jspf as suggested by JSP1.2 spec) in a JSP file as follows: <jsp:include page="/header.jspf"/> But it looks like OC4J thinks it is a static file and thus all JSP tags are ignore

  • Improving CS4 Slowness tips

    www.designfederation.net/blogs/improving-adobe-cs4-slowness

  • Sun RPC - Java libraries (non XML based)

    We are looking at replacing and existing Proprietary (Distinct) RPC interface with a Sun RPC (non-xml based) version. I've seen mentioned somewhere about the sun.sunrpc.* package but can't find anything else about it. Something like rpcgen for java.

  • How to configure printers in SUSI LINUX

    Hi all!   At present we are using WINDOWS OS.Now we are shifting to SUSI LINUX.What are the settings to be made in OS as well as in SAP.Our present version is SAPGUI 7.00 rev6.Already we have installed 5 printers in SUSI LINUX OS.When we trying to pr