Danish characters u00E5,u00E6 in Mail Sender Adapater

Hi experts,
I have a problem with special characters. I have a txt file with ø,å,æ characters in words. It's sendt as mail attachment, that swapt with PayloadSwapBean and transformed to xml with MessageTransformBean. I get an xml with � signs instead of  danish letters. I read many threads but can't finde the solutions.
I tried to change utf-8 in content type to iso-8859-1, and different options for content encoding : None, base64,qouted- printable -
NO CHANGE.
Please advice.
Thanks a lot,
Nataliya
Here is my settings for modules parameters in adapter:
swap.keyName Content-Disposition
swap.keyName Content-Description
swap.keyValue attachment;filename="MailAttachment-1.txt"
swap.keyValue MailAttachment-1
Transform.Class  com.sap.aii.messaging.adapter.Conversion
Transform.ContentType text/xml;charset=utf-8
and part my received message fromm Mail adapter:
Content-ID:

check if below link helps you in any way:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42

Similar Messages

  • Problem with language specific characters on e-mail sending

    Hi,
    Problem with language specific characters on e-mail sending.
    How can it be fixed?
    Thanks.

    Hi,
    try to work on the charecter code set UTF-8 or UTF-16. You can define this in html.
    Or encode the charecter using java script.
    Hope this may help you.
    Deepak!!!

  • Mail sender adress not in SHeaderFrom if length more than 50 characters

    Hi,
    we 're using the mail sender adapter in PI 7.00 to get attachments as XIPAYLOAD from our mailserver.
    Also we get the sender address in SHeaderFrom.
    Now we have the problem, if the sender address is larger then 50 character it is NOT stored in SHeaderFrom.
    Why? How to resolve this problem?
    Has anyone an idea?
    Many thanks for answers
    Sven

    Hi,
    we 're using the mail sender adapter in PI 7.00 to get attachments as XIPAYLOAD from our mailserver.
    Also we get the sender address in SHeaderFrom.
    Now we have the problem, if the sender address is larger then 50 character it is NOT stored in SHeaderFrom.
    Why? How to resolve this problem?
    Has anyone an idea?
    Many thanks for answers
    Sven

  • Mail Sender - Encoding (I need to change from UTF-8 to ISO-8859-1)

    Hi,
    I'm getting data from email (in ms exchange) using the Mail Sender Adapter.
    In the e-mails exists characters as ç (ccedil), ã (atilde), õ (otilde) and others. The XI cannot read this characters because the encode in XML is UTF-8.
    How I do to change the encode in XI from UTF-8 to ISO-8859-1 ?
    Thank you!

    Unfortunately most mail server do not apply the codepage to the content type of a mail.
    In this case you have to set the content type with help of the MessageTransformBean:
    Transform.ContentType      text/plain;charset="ISO-8859-1"
    Regards
    Stefan

  • Error in SOST Transaction - Mail Sending to OUTLOOK

    Hi Experts,
    I have a Requirement where, I am sending mails from Workflows to OUTLOOK. Mails are Going absolutely fine for some Cases, but in some Cases it ends up in Error in SOST Trnsaction.
    Is there a limit to the E-Mail Address.. to which mails are being sent..!!
    From the SU01 and BP Transaction, I can see that E-Mail ID Field is 241 Characters..
    In the Address Strings in the E-Mail ID Container element...which stores E-mail ID..its 241 characters..!!
    When the Mail from the WF goes, it shows in SOST and from there it ends in Error. The Receipient Address Field in SOST is 35 Characters but it shows only 30 Characters.
    When I check the WF Log, the Address String Container Element also fetches 30 Characters, whereas it si 241 Characters long.
    Can you please let me know..where else I am missing.
    Regards,
    Kanika

    Hi Kanika,
    Since the field length is of 35 characters, it shows the mail id only up to 35 characters in SOST, but this do not affect sending the mails(happening in my case).There should be some other reason why the mails are ending up in error.Please check the mail ids.
    Regards,
    Thoufique.

  • Status of the mail sending option using SO_NEW_DOCUMENT_ATT_SEND_API1

    Hi experts,
    I m using SO_NEW_DOCUMENT_ATT_SEND_API1 function moduel for sending mails to dealers. That is, whenver i execute a Z transaction, the customer invoice details are getting displayed in report output. At the same time, the same output data is sent as mail to the respective dealers.
    Now teh user is asking whether there is any possiblity for the end users to have a proof of the mail which is being sent from the Z transaction. If the mail is sent, the end user who executes the Z transaction (mail sending transaction) should have that mail in his/her SENT ITEMS. If the mail not reaches the dealer, then the user must identify the mail bounce identification.
    Pls tell me how to achve the same..
    Regards,
    Shanthi

    Hi,
    Yes it is possible..
    Just pass 'X' to the exporting parameter 'put_in_outbox'. The user can check the send mail in 'sost'. All the details of the mail will be there. This will be the proof that the mail was sent.
    Reg the 2nd part of your query, if the mail is not delivered to any reciepent or to particular recipient, the details will be there in the SAP outbox, that also you can see through transaction 'sost'.
    Thanks & Regards
    Rocky

  • Mail Send Functionality using SO_NEW_DOCUMENT_ATT_SEND_API1

    hi,
    i m using Fn Module "SO_NEW_DOCUMENT_ATT_SEND_API1" to send email with attachment.
    I have written  a program which will fetch data in excel format . this excel should be sent as attachment to specified receiver. however i m having difficulties adding attachment to function module.
    I specified under parameter "contents_bin" but its giving some error message related wth structure.
    I chkd SDN and wasnt able to find any resolution yet.
    Any suggestion or idea which can be useful on this.
    Thanks.

    REPORT  zsendemail                    .
    PARAMETERS: psubject(40) type c default  'Hello',
                p_email(40)   type c default 'write email address' .
    data:   it_packing_list like sopcklsti1 occurs 0 with header line,
            it_contents like solisti1 occurs 0 with header line,
            it_receivers like somlreci1 occurs 0 with header line,
            it_attachment like solisti1 occurs 0 with header line,
            gd_cnt type i,
            gd_sent_all(1) type c,
            gd_doc_data like sodocchgi1,
            gd_error type sy-subrc.
    data:   it_message type standard table of SOLISTI1 initial size 0
                    with header line.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Perform populate_message_table.
    *Send email message, although is not sent from SAP until mail send
    *program has been executed(rsconn01)
    PERFORM send_email_message.
    *Instructs mail send program for SAPCONNECT to send email(rsconn01)
    perform initiate_mail_execute_program.
    *&      Form  POPULATE_MESSAGE_TABLE
          Adds text to email text table
    form populate_message_table.
      Append 'Email line 1' to it_message.
      Append 'Email line 2' to it_message.
      Append 'Email line 3' to it_message.
      Append 'Email line 4' to it_message.
    endform.                    " POPULATE_MESSAGE_TABLE
    *&      Form  SEND_EMAIL_MESSAGE
          Send email message
    form send_email_message.
    Fill the document data.
      gd_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name  = 'SAPRPT'.
      gd_doc_data-obj_descr = psubject.
      gd_doc_data-sensitivty = 'F'.
    Describe the body of the message
      clear it_packing_list.
      refresh it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      describe table it_message lines it_packing_list-body_num.
      it_packing_list-doc_type = 'RAW'.
      append it_packing_list.
    Add the recipients email address
      clear it_receivers.
      refresh it_receivers.
      it_receivers-receiver = p_email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      append it_receivers.
    Call the FM to post the message to SAPMAIL
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           exporting
                document_data              = gd_doc_data
                put_in_outbox              = 'X'
           importing
                sent_to_all                = gd_sent_all
           tables
                packing_list               = it_packing_list
                contents_txt               = it_message
                receivers                  = it_receivers
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
    Store function module return code
      gd_error = sy-subrc.
    Get it_receivers return code
      loop at it_receivers.
      endloop.
    endform.                    " SEND_EMAIL_MESSAGE
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    form initiate_mail_execute_program.
      wait up to 2 seconds.
      if gd_error eq 0.
          submit rsconn01 with mode = 'INT'
                        with output = 'X'
                        and return.
      endif.
    endform.                    " INITIATE_MAIL_EXECUTE_PROGRAM

  • I need an e-mail sending to my macbook, it appears to download but is never in my inbox. It does got to my iphone.  It isn't in trash.  Can anyone help ?

    I need an e-mail sending to my macbook, it appears to download but is never in my inbox. It does got to my iphone.  It isn't in trash.  Can anyone help ?

    I get those all the time. Most annoying. I usually ignore them or mark them as spam.

  • Send E-mail Send E-mail question

    Hi,
    Im trying out the Developers Toolbox and am trying to figure out if its right for me, and have very basic - beginning MySQL and php skills.
    The tutorial at http://help.adobe.com/en_US/Dreamweaver/9.0_ADDT/help.html?content=ch12_send_email_01.htm l is rather sketchy, when I follow the tutorial on that page:
    "The Send E-mail trigger allows the site developer to automatically send an e-mail when a form is submitted. It is an AFTER trigger, and it can be executed after insert/update/delete/custom transactions.
    This trigger is accessible from the Application panel, Server Behaviors > + > Developer Toolbox > Send E-mail > Send E-mail."
    well, when I try that, I get an error on the page which says:
    "There are no insert, update, custom or login or delete transactions on page. Please insert an appropriate transaction first."
    OK I am assuming that I need some kind of an html form open and on a page, however where do I start? Its as if the tutorials left out a huge chunk of the instructions. I realize I am no expert but if someone was buying the toolbox for the first time how would one know where to start? Do I need to create a new database table first? What kind of table? Can it be a table that is part of the site database for the shopping cart database that I already have linked to the store? Or does it need to be a seperate - database, table? Or just a php page with the form in it? Or does the form page need to be .html?
    Or is the toolkit only for advanced developers with advanced php and MySQL skills and should I not even bother buying it?
    Anyway can someone please give me a hint?
    All I am trying to do is construct a simple email form for my web site which I have created in Dreamweaver and I need a php script to process the data inserted into the form and send it off to the mail server to forward to the webmaster's email address. I have the form created and brought up the form page, but then the Server Behaviors > + > Developer Toolbox > Send E-mail > Send E-mail. Tab is not accessible, and I am assuming that it wont be unless I have a .php file open, so I dont have a clue as to where to start.
    So Ive got 27 days left to determine if its worth buying the toolbox, if I cant figure it out by then then I guess Ill buy some easier to use extension or stand alone to create my email form and other scripts.

    Hi DBS,
    just some thoughts:
    So Ive got 27 days left to determine if its worth buying the toolbox, if I cant figure it out by then then I guess Ill buy some easier to use extension or stand alone to create my email form and other scripts
    honestly said: if sending form data via email is about all you want to achieve, buying ADDT or even trying to learn it would be overkill, as it comes with heaps of features which you´ll probably never need -- in this case investing in a stand alone form-to-email script seems a better solution.
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How can i read only .txt file and skip other files in Mail Sender Adapter ?

    Hi Friends ,
                       <b> I am working on scenario like , I have to read an mail attachement and send the data to R3.</b>
                        It is working fine if only the .txt file comes.
                      <b>Some times ,html files also coming along with that .txt files. That time my Mail adapter fails to read the .txt file.</b>
                       I am using PayLoadSwap Bean and MessageTransformBean to swap and send the attachment as payload .
                         <b>Michal as told to write the Adapter module to skip the files .But i am not ware of the adapter moduel . If any blogs is there for this kind of scenarios please give me the link.</b>
                           Otherwise , please tell me how to write adapter module for Mail  Sender Adapter?
                      How to download the following
                        newest patch of XI ADAPTER FRAMEWORK CORE 3.0
    from SAP Service Marketplace. Open the file with WinZip and extract the following
    SDAs:
    &#61589;&#61472;aii_af_lib.sda, aii_af_svc.sda
    &#61589;&#61472;aii_af_cpa_svc.sda
                        I have searche in servive market place .But i couldn't find that . Can you please provide me the link to download the above .
                      If any other suggestions other than this please let me know.
    Regards.,
    V.Rangarajan

    =P
    Dude, netiquette. Messages like "i need this now! Do it!" are really offensive and no one here is being payed to answer anyone's questions. We're here because we like to contribute to the community.
    Anyway, in your case, just perform some search on how you could filter the files that are attached to the message. The sample module is just an example, you'll have to implement your own. Tips would be to query the filename of the attachments (or maybe content type) and for the ones which are not text, remove them.
    Regards,
    Henrique.

  • Mail Sender adapter issue in PO7.4

    Hello Experts,
    We are migrating from PI7.0 to PO7.4, where in we are struck up with an issue of Mail Sender Interface.
    Here we have a scenario of Mail to Proxy where we are processing attachment(CSV file). But here when I we run the interface mail body is being processed not the attachment. Also could nt see the Payload as when I click on the Attachment payload a pop up is coming and closing automatically.
    Can someone please suggest where it went wrong as this is working in existing PI7.0 version.
    Thanks.
    VR

    Hi VR
    Have you tried swapping by Payload name?
    Please try it out with the following configuration, and remove any extra lines - there are duplicate key names and values in your configuration.
    You should be able to see the successfully swap by payload name in the audit log as shown below.
    Rgds
    Eng Swee

  • Mail Sender Adapter - Attachment Handling

    Hello,
    I 'm using XI 3.0 SP 14.
    I have problems with my Mail-Sender-Adapter.
    The mails, I fetch, have an xml-attachment which
    represents an IDOC-structure (ORDERS.ORDERS05).
    I want to sent this attachment as payload to an SAP-System.
    The problem is now, that I have 2 Payloads (SXMB_MONI).
    One for the normal email-body and one for my original
    xml-attachment. See below:
    - <SAP:Payload xlink:href="cid:[email protected]">
      <SAP:Name>MailMessage</SAP:Name>
      <SAP:Description>mail message</SAP:Description>
      <SAP:Type>Application</SAP:Type>
      </SAP:Payload>
    - <SAP:Payload xlink:href="cid:[email protected]">
      <SAP:Name>MailAttachment-1</SAP:Name>
      <SAP:Description>mail attachment</SAP:Description>
      <SAP:Type>ApplicationAttachment</SAP:Type>
      </SAP:Payload>
      </SAP:Manifest>
      </SOAP:Body>
    The XI Runtime Workbench (SXMB_MONI) takes (in my case)
    the wrong one (email-body-attachment) and gives me
    an parsing error. (Error occurs at my IDOC-Receiver-Adapter)
    Now my question:
    Can I remove the email-body-attachment, so that
    the further processing works with my xml-attachment?
    Or how can I resolve my problem.
    best regards
    Marcel Reichert

    Hi Marcel,
    use the PayloadSwapBean module to get the attachment as main payload.
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
    As parameters use:
    swap.keyName = payload-name
    swap.keyValue = MailAttachment-1
    Regards
    Stefan

  • File Content Conversion in Sender Adapater

    Hi Folks ,
    I am doing a file 2 file scneario using content conversion at  both end
    My i/p and o/p is file is tab delimited
    My source xml structure is
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:file_sender_mt xmlns:ns0="urn:filetofiledemo">
       <recordset>
          <data1>
             <keyfield/>
             <age1/>
          </data1>
          <data>
             <name/>
             <keyfield/>
             <age/>
             <loc>
                <keyfield/>
             </loc>
          </data>
       </recordset>
    </ns0:file_sender_mt>
    Data and location have the mapping 1.. unbounded
    while data1 has the mapping 1.1
    When I am trying to read it as a tab delimited flat file.
    These are the parameters that i have set
    Document Name  file_sender_mt
    Document Namespace urn:filetofiledemo
    Recordset Name recordset
    Recordset Structure data1,1,data, ,loc,
    Key Field Name keyfield
    data1.fieldNames keyfield,age1
    ignoreRecordsetName true
    recordset.fieldSeparator '0'
    data1.fieldSeparator '0x09'
    data1.keyFieldValue 01
    data1.endSeparator '0'
    data.beginSeparator '0x09'
    data.fieldSeparator '0x09'
    data.fieldNames name,keyfield,age
    data.keyFieldValue 02
    loc.fieldSeparator '0x09'
    loc.beginSeparator '0x09'
    loc.endSeparator '0'
    loc.keyFieldValue 03
    loc.fieldNames keyfield
    My file is getting picked up . I dont see any message in message monitoring and neither anything in moni .
    No error in adapater
    but the file is not getting created .
    if i change the message protocol to file and send t above xml file . the scneario works fine
    any reasons for the above behaviour
    Thanks
    Amit

    I have found you cant use nested element in sender adapater
    so i have chnage my source structure to
    Now if i give my i/p file as
    01 age1
    02 25 03
    file is getting pciked up
    bt if i give it as
    01 age1 02 25 03
    which is the structure i expect my i/p file it is failing  to read with the error
    Error: Conversion of complete file content to XML format failed around position 0: Exception: ERROR converting document line no. 1 according to structure 'data1':java.lang.Exception: ERROR in configuration: more elements in file csv structure than field names specified!
    Does The special character ´0´ is not a separator character.
    not work for sender adapater bcoz in reciever i am able to get o/p in one line and tab delimited
    any idea
    and since i have given my keyfield as the second field in data
    02 would come at the second palce
    Thanks
    Amit

  • MAIL Sender adapter going in to error

    Hello Experts ,
    We have configured one mail sender adpater with a custom module to read the attachements in the email message. This was working fine before.
    We recently had a restart of the PI servers. After that the channel is going in to error. The first error as per NWA logs is :
    failed to call the adapter engine; caused by javax.ejb.EJBException: Exception in getMethodReady() for stateless bean sap.com/com.sap.aii.adapter.mail.app*xml|com.sap.aii.adapter.mail.ejb.jar*xml|XIMailAdapterBean; nested exception is: com.sap.engine.services.ejb3.util.pool.PoolException: javax.ejb.EJBException: Exception raised from invocation of public void com.sap.aii.adapter.mail.ejb.XIMailAdapterBean.ejbCreate() throws javax.ejb.CreateException method on bean instance com.sap.aii.adapter.mail.ejb.XIMailAdapterBean@243be1e1 for bean sap.com/com.sap.aii.adapter.mail.app*xml|com.sap.aii.adapter.mail.ejb.jar*xml|XIMailAdapterBean; nested exception is: javax.ejb.CreateException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Failed to load messages into Queue AFWSend from database. Reason: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException occurred in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot get connection. Reason: the thread of component "ejbContexts/sap.com/com.sap.aii.adapter.mail.app/com.sap.aii.adapter.mail.ejb.jar/XIMailAdapterBean" in application "sap.com/com.sap.aii.adapter.mail.app" is currently associated with a restricted resource set and it is not allowed to get connection within it.
    After that whenever it is trying to process a message its throwing the below error :
    exception caught during processing mail message [588]com.sap.aii.af.lib.mp.module.ModuleException
    Has anybody faced thsi error before? Please help!!!
    Thanks

    Hi VR
    Have you tried swapping by Payload name?
    Please try it out with the following configuration, and remove any extra lines - there are duplicate key names and values in your configuration.
    You should be able to see the successfully swap by payload name in the audit log as shown below.
    Rgds
    Eng Swee

  • Variable Transport Parameters in Mail Sender

    Did anyone ever successfully use the "Variable Header XHeaderName1" in the mail sender adapter (IMAP4)?
    We have two mail sender channels which require a slightly different mapping. My idea was to define a value for the field "Variable Header XHeaderName1" and evaluate that in the mapping. But the value is not passed into the SOAP header, I can configure what I want. I turned on "Adapter spec.attributes" and "Variable Transport...".
    So I cannot access the field value in the mapping.
    Now I evaluate the dynamic configuration field "SUser", that works, but that's only a workaround.
    So either this is a bug in the system (XI 3.0 SP 21) or the documentation is wrong.
    We are using an attachment, is that the problem ? "Use Mail package" off/on does not change anything.
    Any ideas ? No general links to the documentation please.
    CSY
    Edited by: Christian Sy on Aug 15, 2008 8:48 AM

    I think the DynamicConfigurationBean would help in this scenario.
    You can assign a constant value in sender channel and use that constant for the determination of the mapping.
    Regards
    Stefan

Maybe you are looking for

  • Apple loops download doesn't work?

    Just upgraded to a new iMac and noticed many of the standard Apple loops are greyed out. When I double-click one, I get: "The Software Instrument or Apple Loop selected is not currently installed on your computer. Would you like to install the comple

  • [solved] remove grub timeout doesn't work

    i am trying to remove the grub timeout by editing /etc/default/grub and setting grub_timeout to 0, but it doesn't work, is there anything else i should change? p.s. should i run grub-mkconfig? Last edited by aldoiljazi (2013-09-18 07:35:11)

  • I'm in need of a "container"

    Hi all. In my project there are 2 radio buttons. Each of them gives access to several controls (such as string, listboxes and checkboxes) which differ both in number and in type. What i would like to do is to make these controls visible or invisible

  • Blog Entries Saved to Folder

    Hi all: I hope those of you who have already used iWeb 2 can answer me. One of the worste thing of the previous version of iWeb was that when I added a new post to my blog and saved it folder, it saved AGAIN all the other unedited posts and pages too

  • How about a status update on mtu for zen xtra--i want napster to

    hey creative, any word on the update for mtu support for the xtra? napster is announcing the official release of napster to go, but as it currently stands, you can only use it on the micro, not the touch or the xtra. for a number of months we have be