Mail Sender - charset detection failed

All,
my scenario is:
mail sender, xml file attached to send mail (by useing adapter module, attached xml is used as message body). message is transferred to R/3 via ABAP proxy receiver.
while test, i got the following ERR msg:
"......charset detection failed".
how can i determine required charset (and what charset should be used)?
note:
i far as i know, i can not predict what would be the charset used by the sender.
the attached xml is generated by Adobe Interactive Form - can the charset be determine by the adobe?
looking forward for your replays.
Regards
Uri
Edited by: uri karagila on Jan 21, 2010 11:04 AM

> how can i determine required charset (and what charset should be used)?
Use UTF-8 for ABAP proxy.
Change the charset inside your adapter module.

Similar Messages

  • "charset detection failed" while reading mail attachment

    Hi,
    I'm trying to config  Mail to RFC scenario, in which message is being send as mail attachment. I followed this geart bolg (http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0061964050DB00692202668857888939End?blog=/pub/wlg/2849).
    when i was testing my scenario the following ERR occurred:
    "No interface determination found for outbound interface ..... : Error while determining root tag of XML: BOM / charset detection failed"
    plz advise.
    Regards
    Uri

    Hi Uri,
    Check this links
    Error while determining root tag of XML: BOM / charset detection failed
    interface determination not found
    Error in Test Configuration
    Regards
    Ramesh

  • Error message when sending mail : sending the message failed because you have exceeeded your sending limit"

    I was trying to email a link from a webpage I loaded in safari.  The email sits in my outbox with a red exclamation point.  WIll not send.  Keeping getting an error message sending the message failed because you have exceeded your sending limit

    "I keep getting a "you have exceeded your limit" on my email."
    No explanation, makes no sense, it's happening with others.
    I have to change (in my outgoing/unsent folder) my sending address from .mac to me.com. After reading the following helpful post:
    To get outbox individual mails sent, Try going to outbox, opening each email to edit and change sending email to [email protected] by clicking arrow in from line.  If [email protected] account does not show, go to settings > mail > icloud account > add "[email protected]"  And, until this issue is resolved, set mail to send from [email protected]
    (and you should be using smtp.mail.me.com)

  • Outgoing Mail - sending to server failed

    A few computers in my office have had periodic trouble sending mail. This is the error message:
    *Message delivery failed.*
    The server response was: Temporary local problem - please try later
    You can try to send using a different server…
    I've researched this a little and found suggestions to send on different ports or change the MTU from 1500 to 1492. I haven't tried this yet, because the problem is not consistent. It only effects 2 of 11 employees on the same network, and those 2 employees only get the error periodically. I am stumped. If the server response is "Temporary local problem" does that mean the problem is with our ISP or the machine?

    According to the error message, the problem is local to the server and temporary, so it should be no surprise that it happens sometimes only. Do all the users send through the same outgoing server?

  • Use an alternative e-mail address after repeated failed attempts to send.

    My company uses a small e-mail server company that offers a lot of benefits, but occasionally goes down for a day or two. I would like to find a way to automatically use another e-mail address after several failed attempts to use this server.
    Thus, if everything is working right, my e-mail will use the regular server. However, if the original server is down, when my e-mail fails to send repeatedly using that server, I would like it to default to another server. Is there a way to configure this?
    Thank you.

    No, you can’t. .Mac’s SMTP server simply doesn’t allow sending from a non-.Mac address.
    Doesn’t your ISP include some POP or IMAP mail accounts with access to an SMTP server as part of the service? Such an SMTP server might be less restrictive.
    A Gmail account would allow you to use Gmail’s SMTP server. Instructions for setting up a Gmail account are provided here:
    http://mail.google.com/support/bin/answer.py?answer=13275
    After setting up the Gmail account in Mail and checking that it works, you can use Gmail's SMTP server to send from your other mail accounts as well:
    1. Log into your Gmail account on the web.
    2. Go to Settings > Accounts.
    3. Enable the addresses you want to be able to send from, and let Gmail validate them by verifying that you do indeed own them.
    4. For each mail account you want to send from using Gmail’s SMTP server, in Mail go to Preferences > Accounts, and choose Gmail’s SMTP server from the Outgoing Mail Server (SMTP) popup menu.
    BTW, if you’re using Mac OS X 10.3 (Panther), as your profile indicates, it would have been more appropriate to discuss this in the Mail & Address Book - Mac OS X 10.3 & earlier forum. If the discussion applies to both Mail 1.x and Mail 2.x, it doesn’t really matter, but it’s difficult to know that in advance.

  • Frontier mail send fails frequently

    Neither of our Macs will send mail via our Frontier mail ISP accounts (POP3/SMTP). Mail send broke Dec. 24-25, started working again Dec. 26-27, and has been broken since Dec. 28. Windows computers running Outlook work, and Frontier's Webmail works. We have checked settings repeatedly both ourselves, and with Frontier support personnel. Nobody has been able to identify the problem. Frontier outsources its email to Yahoo, so changes at Yahoo could be causing the problem.
    Has anyone else seen this pattern? Any suggestions on further debugging steps?

    Neither of our Macs will send mail via our Frontier mail ISP accounts (POP3/SMTP). Mail send broke Dec. 24-25, started working again Dec. 26-27, and has been broken since Dec. 28. Windows computers running Outlook work, and Frontier's Webmail works. We have checked settings repeatedly both ourselves, and with Frontier support personnel. Nobody has been able to identify the problem. Frontier outsources its email to Yahoo, so changes at Yahoo could be causing the problem.
    Has anyone else seen this pattern? Any suggestions on further debugging steps?

  • Problem of encoding for mail sender adapter

    Hello, everyone.
    I have faced the problem of mail sender adapter.
    When someone send message with any content encoding (even UTF-8) and 8bit content type encoding the XI mail adapter corrupt special and foreign symbols. I checked the message for correct structure and encoding with tpcgw utility and it was fine. For example (this is what I can see in tcpgw)
    ==== Response ====
    +OK
    +OK Password required for user itra_xi
    +OK XXXXX maildrop has 1 messages (2048 octets)
    +OK 1 2048
    +OK
    +OK 1459 octets
    Return-path:
    Received: from (port=20091 helo=XXXX)
         by mx76.mail.ru with psmtp
         id 1O7UoW-0003I4-00
         for XXXXXX; Thu, 29 Apr 2010 18:34:04 +0400
    Message-ID:
    Subject: Message 29 4
    Date: Thu, 29 Apr 2010 17:33:43 +0300
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
         boundary="----=_NextPart_000_0018_01CAE7C2.1D0BBA60"
    X-Priority: 3
    X-MSMail-Priority: Normal
    X-Mailer: Microsoft Outlook Express 6.00.2900.5843
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
    X-Spam: Not detected
    X-Mras: Ok
    This is a multi-part message in MIME format.
    =_NextPart_000_0018_01CAE7C2.1D0BBA60
    Content-Type: text/plain;
         charset="utf-8"
    Content-Transfer-Encoding: 8bit
    Test
    Тест
    And after processing by XI mail adapter  I have this payload (XIPAYLOAD mode using mail package)
    Test
    Тест
    The same situation with using mail package in xml document.
    Any suggestions how this can be corrected?

    I switched UTF-8 encoding during displaying of http content in tcpgw utility and all other mail clients detect it as UTF-8 and work fine. Also this problem occurs with different mail clients that are senders of the message. So it seems adapter takes each byte of cyrillic symbol (each from two) and represents it as individual symbol.
    Correct me if I'm wrong. Maybe there is some configuration somewhere allowing to correct or maybe it's possible to write module to correct.. but it's quite complicated to split correct and incorrect symbols.

  • Cannot get maile connection to server failed

    followed the instructions for icloud set up in apple support for ipad and iphone even deleted the account and then set the account up with the correct ID and password.  I do use a different ID  than my apple ID for my icloud account.  I use my me.com email address.  I can get into the cloud on my pc and I can send and recieve email when I log into my icloud account but this fails to work on my ipad and iphone.  Attempts to seen or get email on these devices when on a wifi network end up with the message "cannot get mail connection to server failed"
    lee

    Hi HLSdoc,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/ts4002
    Issues sending or receiving mail on iPhone, iPad, or iPod touch
    Best of luck,
    Mario

  • HT4863 I have an error message coming up when trying to send an email which says 'sending the message failed because you're exceeding the limit' can anyone help me to resolve this please

    I have an error message coming up when trying to send an email which says 'sending the message failed because you're exceeding the limit' can anyone help me to resolve this please

    Try reentering the password in your iCloud mail settings.

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

  • 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

  • Mail-Sender-Adapter, FetchReport

    Hello,
    can anyone explain me how to use the FetchReport option in the Mail-Sender-Adapter?
    In the Adapter-Audit-Protocol the Adapter I always get an error.
    The SAP-Help pages are not very helpful, an in SDN there are no articles about this.
    kind regards
    Thorsten Gawantka

    Hi Chris,
    the Definition is imported already.
    Here are the message-data:
    Message-Daten
    Attribut     Wert
    Status     fehlerhaft beendet
    Wiederholbar     Nein
    Beendbar     Nein
    Fehlerkategorie     XI_J2EE_ADAPTER_XI_HANDLER
    Fehlercode     CALL_CONSUMER_ERROR
    Start     30.04.2008 13:27:03
    Ende     30.04.2008 13:27:03
    Sender-Partner     
    Sender-Service     opx
    Empfänger-Partner     
    Empfänger-Service     
    Interface     http://sap.com/xi/XI/Mail/30
    FetchReport
    Quality-of-Service     Best Effort
    Message     5b2e4a20-16a8-11dd-c67c-00145e36a4e4
    Referenz     
    Konversations-ID     
    Version     0
    Bearbeitet     Nein
    Serialisierungskontext     
    Richtung     OUTBOUND
    Message-Typ     Call
    Profil     XI
    Verbindung     Mail_http://sap.com/xi/XI/System
    Transport     HTTP
    Endpunkt     http://op-sap-xi:8000/sap/xi/engine?type=entry
    Berechtigung     SAPPasswordCredential(PIAFUSER):password=********:sapclient=001:saplang=
    Sequenznummer     0
    Anz. Wiederh.     0
    Fehlg.     1
    Wiederh.     0
    and the audit-protocol:
    Audit-Protokoll für Message: 5b2e4a20-16a8-11dd-c67c-00145e36a4e4
    Zeitstempel     Status     Beschreibung
    2008-04-30 13:27:03     Erfolgreich     Mail: calling the module processor for channel CC_AeroDB_Mail_Send
    2008-04-30 13:27:03     Erfolgreich     MP: Tritt in den Modulprozessor ein
    2008-04-30 13:27:03     Erfolgreich     MP: Lokales Modul localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean wird verarbeitet
    2008-04-30 13:27:03     Erfolgreich     Mail: message leaving the adapter (call)
    2008-04-30 13:27:03     Erfolgreich     Die Anwendung versucht eine XI Message synchron zu senden über Mail_http://sap.com/xi/XI/System
    2008-04-30 13:27:03     Erfolgreich     Versuch die Message in die Call-Queue zu stellen
    2008-04-30 13:27:03     Erfolgreich     Message erfolgreich in Queue gestellt
    2008-04-30 13:27:03     Erfolgreich     Die Message wurde erfolgreich aus der Call-Queue abgerufen
    2008-04-30 13:27:03     Erfolgreich     Der Status der Message wurde auf DLNG gesetzt
    2008-04-30 13:27:03     Fehler     XI-Systemfehler erhalten. ErrorCode: NO_RECEIVER_CASE_BE ErrorText:   ErrorStack: No receiver could be determined
    2008-04-30 13:27:03     Fehler     Rückgabe synchroner Fehlerbenachrichtigung an rufende Anwendung: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:.
    2008-04-30 13:27:03     Fehler     Die Übertragung der Message über http://op-sap-xi:8000/sap/xi/engine?type=entry ist fehlgeschlagen, weil: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    2008-04-30 13:27:03     Fehler     Der Status der Message wurde auf FAIL gesetzt
    2008-04-30 13:27:03     Fehler     Zurück zur Anwendung. Ausnahme: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    2008-04-30 13:27:03     Fehler     Mail: error occured: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    2008-04-30 13:27:03     Fehler     Mail: error occured: com.sap.aii.af.mp.module.ModuleException: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE: caused by: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    2008-04-30 13:27:03     Fehler     MP: Ausnahme aufgetreten mit Grund com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    2008-04-30 13:27:03     Fehler     Mail: failed to call the module processor: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_RECEIVER_CASE_BE:
    Now the question is, how do i define the receiver in an asynchrounious scenario? And what does the FetchReport option exactly?
    thx for your help
    Thorsten

  • Mail Sender Adapter with IMAPS

    Hi,
    I had a Mail Sender Adapter running fine with imap. Our Email Server has changed now to secure protocol. Therefore I need to use the Mail Sender Adapter with IMAPS. If I use imaps://<mailserver>:993 in the channel configuration the Mail Adapter aborts with error "not initialized; mail agent null" and in the default trace it says "failed to initialize the channel: java.io.IOException: illegal protocol for XMBIMAPInitiator: imaps#". If I configure the Mail Adapter with  <b>imap</b>://<mailserver>:993 the Mail Adapter starts and says "running", but it does not poll the postbox. In the security.log file there is a warning about untrusted certificates "com.sap.security.core.server.https.SecureConnectionFactory#Plain###Attempting to create outgoing ssl connection without trusted certificates#". I did already import the (CA) Certifcate of the mailserver with key storage service of J2EE Engine in the Trusted area and I configured the J2EE Engine for using SSL (the https access to the J2EE Engine works fine).
    What is still missing in XI 3.0 (SP12)? I can access the postbox securely with e.g. Thunderbird using port 993.
    Has anyone an idea or had already this issue?
    Thanks for any help in advance.
    Peter

    Hi Sebastian ,
    The Mail sender --IMAPS , did  it solve your issue because i fcae the same kind of Error in Communication Channel :
    exception caught during processing mail message; java.io.IOException: unable to create a socket
    Mail sender CC:imaps://NZxxx.dknz.nzcorp.net:993/NZDKINVOICES
    -Login Credentials is correct.
    -Defualt XI Paramters are correct
    -Mail Server is the right one
    -Tried in command prompt , N:/telnet NZxxx.dznz.corp.net 143 , but i get response : Could not open connection to the host, on port 143 .Connection Failed
    Could you kindly assist
    Thanks,
    Vara

  • IDoc outbound errors - mail send step in WF to send info-mail to enduser

    Hello specialists
    I searched quite a lot in the forums now. I found lot of info but nothing regarding my issue.
    I need to send an info-mail to the end user creating purchase orders. But only if the idoc (outbound ORDERS) could not be sent (failing for some reason, i.e. if rfc connection fails). This is what I've done to achieve this:
    - in WE40 I linked my WF to process code EDIO
    - the WF-BATCH user has an email address assigned to it (in SU01)
    - the mail sending step in my WF is configured like this:
    recipient type = G (organizational object)
    Expression = &_WORKITEM.CREATEDBYUSER.ID& (this contains the enduser id)
    subject = Test for &WORKITEM.CREATEDBYUSER.ID&
    When testing the mail can not be delivered (error SO23).
    When setting recipient type to U (E-Mail address) and giving a valid e-mail address, then it works fine (SCOT, etc. is configured and mailing to external systems works). But setting the e-mail address hard coded style in the mail send step is not an option here!
    It seems that the send mail step (SELFITEM.SENDTASKDESCRIPTION) always requires a valid e-mail address. Is it not able to handle SAP user id's ?
    Thanks in advance for some guideance on this one.
    Renaud
    Edited by: Renaud Desarzens on Feb 11, 2010 3:00 PM

    Hello and thanks for your help.
    I was able to solve it like this:
    - don't use mail send step
    - instead, add new activity with a new task (SELFITEM.SENDTASKDESCRIPTION)
    - in the bindings (workflow -> step) set:
         B --> &TYPEID&
         &_WORKITEM.CREATEDBYUSER.ID& --> &ADDRESSSTRINGS&
    Seems that the mail send step doesn't allow TYPEID to be "B" because each time I tried to tweak the generated bindings that way it messed up the recipient type and expression I set before.
    Regards
    Renaud

Maybe you are looking for