Mail adapter and UTF-7 encoded messages

Hi,
a customer of us wants to know if it is possible to receive UTF-7 encoded messages using the Mail adapter.
Is there a configurable parameter to do this? Or is the only solution to change the Mail adapter code. If so are there examples available?
Thanks!

Tamil,
The best thing would be create alerts for both the mapping and adapter alerts. If there is any mapping failure then an email will be send to you. With adapter alerts if there any errors on adapters it will send you a mail. You dont need a fault message for it.
Check this weblogs for creating alerts:
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
---Satish

Similar Messages

  • Dynamic attachment name with receiver mail adapter and use mail package

    We need to send mapped XML payload as attachment (with dynamic name) to a recepient (recepient email id is part of input xml payload, but not part of the mapped XML payload).
    I could probably do this using the adapter module (as per the following link),
    http://wiki.sdn.sap.com/wiki/display/XI/Adapter%20Module%20PI%207.0%20Set%20Attachment%20Name?bc=true
    I would like to explore if this would be feasible using Mail package and XI payload.I already have a Java mapping that is converting the input XML to required Output format. If I am using Mail package (XI Payload), how do I go about sending this Output XML from java mapping as attachment to email id available in the input payload?

    Hi,
    1) XML payload as attachment (with dynamic name)
    2) recipient (recipient email id is part of input xml payload, but not part of the mapped XML payload)
    These two is possible by using Mail Package. You have a standard xsd for mail package which you can download from the SAP Note 748024.
    The xml created in you java mapping which will be your attachment should be put into the <content> tag of the mail package xml structure. and the file name can be set in the <Content_Type> tag.
    <?xml version="1.0"; encoding="UTF-8"?>
    <p2:Mail xmlns:p2="http://sap.com/xi/XI/Mail/30">
    <Subject>My Invoice</Subject>
    <From>from email address<;/From>
    <To>to email address</To>
    <Content_Type>text/plain;name="MyFile.csv";</Content_Type>  --> file name here
    <Content>123;A49;aaa</Content>   -> attachment xml here
    </p2:Mail>
    And you have to select MailPackage in the receiver mail adapter.
    Regards,
    Aravind

  • Mail Adapter and File content conversion.

    I have a scenario to send data from SAP to 4 different boards. I have used a Multi mapping for this scenario. I am using Proxy for SAP to xi and SOAP, File and Mail adapter for the external connections.
    Questions:
    1) I need to send a mail in CSV or Excell format in one scenario. I have used AF_StrictXml2Plain Module but its not working? any thoughts?
    2) In the file adapter I have to add the YYYYMMDD (current Date) to the file name? when I use timestamp i get the time too, any way of getting only date? I cant use the Variable substitution as i dont have date in my payload.
    3) Receiver File content conversion:
    My Message Type Looks like this
    MT_XX_XX
         Row
            title
            xxx
    I have used these parameters:
    Recordset Structure:  Row
    Row.addHeaderLine : 0
    Row.fieldSeparator : ,
    Row.endSeparator: 'nl'
    am I doing something worng, the file content conversion doesnt work.
    Please let me know
    Thanks in advance

    Hi,
    Make sure u are using the bean before the mail adapter bean.
    Before using the file content conversion make sure that there are no substructures in it , in order to use addheader line as 0. else use addheaderline 3 and give the headerline as comma seperated values
    for e.g if this is the type then addheader line= 0
    Type 1  :
    Record_Mt
         Row
             field1
             field2
    else if this the type then addheaderline = 3
    *Type 2: *
    Record_Mt
         Row1
             field1
             field2
         Row2
             field1
             field2
    add module like this
    localejbs/sap.com/AF_Modules/StrictXml2PlainBean
    with the module key e.g. key
    for type 1 struct (as above )add parameter- key as singleRecordType  and value as Row with comma seperated value. (remember header line is 0)
    for type 2 structure (as above )add parameter- key as recordTypes  and value as Row1, Row2 with comma seperated value. (remember header line is 3)

  • Mail adapter and MessageTransformBean module configuration issue

    Hi All,
    I am trying to use module configuration in Receiver Mail adapter. Below is my configuration. (We are using SAP PI 7.11)
    Parameter/General tab:
    Message Protocol : XIPAYLOAD
    Use Mail package option is selected.
    Content Encoding = none
    Module tab:
    Processing Sequnce:
    AF_Modules/MessageTransformBean  : XSLT
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean : mail
    Module Configuration:
    XSLT    Transform.Class                        com.sap.aii.af.sdk.xi.adapter.XSLTConversion
    XSLT    Conversion.XSLTFileName     /tmp/GL_POST_RESPONSE_EMAIL.xsl
    XSL works outside of PI . However, when i test with a message, I am seeing following errors in Runtime workbench:
    Please let me know what could be wrong in the above configuration
    23.03.2011 15:24:39 Information MP: processing local module localejbs/AF_Modules/MessageTransformBean
    23.03.2011 15:24:39 Information Transform: using Transform.Class: com.sap.aii.af.sdk.xi.adapter.XSLTConversion
    23.03.2011 15:24:39 Error Transform: Transformer Conversion1.0.0610 Error initializing XSLT Mode:; caused by javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
    23.03.2011 15:24:39 Information Transform: transforming the payload ...
    23.03.2011 15:24:39 Error Transform: failed to execute the transformation: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Error converting Message; nested exception caused by: java.lang.NullPointerException: while trying to invoke the method javax.xml.transform.Templates.newTransformer() of an object loaded from local variable templates
    23.03.2011 15:24:39 Error MP: exception caught with cause com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Error converting Message; nested exception caused by: java.lang.NullPointerException: while trying to invoke the method javax.xml.transform.Templates.newTransformer() of an object loaded from local variable 'templates'
    23.03.2011 15:24:39 Error Adapter Framework caught exception: Error converting Message
    23.03.2011 15:24:39 Error Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Error converting Message; nested exception caused by: java.lang.NullPointerException: while trying to invoke the method javax.xml.transform.Templates.newTransformer() of an object loaded from local variable 'templates'.

    Hi All,
    Issue has been resolved. There was some minor issue in the XSL. The XSL Stylus studio was not reporting this as an error. However PI's XSL engine was reporting that error. This error message was not showing up in runtime workbench. However, when i looked at the default trace, there were few more errors. After fixing the XSL, I am able to received the email
    Thanks
    -Pradeep

  • Mail adapter module  UTF-8 to ISO-8859-1 conversion

    Hi!
    I've a problem with a mail attachment which is generated by an adapter module for the mail adapter. The content type is set to "Application/EDIFACT; charset=iso-8859-1" when I add the attachment, but the mail adapter ignores the charset-setting.
    Therefore german "umlauts" like ü are displayed in a wrong way: ü
    When I set the content, I transform it in ISO-8859-1 : attachment.setContent(edifactString.getBytes("ISO-8859-1"),"ISO-8859-1");
    When I test the result of edifactString.getBytes("ISO-8859-1"), I get the String in the right character encoding, but the mail adapter seems to "fix" the encoding
    I also tried to use the messageTransformBean, but it doesn't worked.
    Anyone knows how to solve this issue?
    Best regards,
    Daniel

    Hi all!
    I found a solution for this problem: First I used the TextPayload-Object for the Attachment which should be added. It seems that the TextPayload-Object has some bugs handling different encodings (handels only Unicode and deletes the charset=... setting from the ContentType).
    When using the Payload object for the attachment (which handles binary data), there is no conversion to Unicode, so I get my attachment as desired (but still without the charset-setting).
    Best regards,
    Daniel

  • FCC with ASCII and UTF-8 encoding issue

    Hi,
    I have File to IDoc scenario and I am doing FCC which has Japanese chars. (PO with HEADER,1,ITEMS,*)
    I have specified UTF-8 encoding in file adapter to processed the file.
    Earlier, my source file was in ASCII format which had junk chars; my file was picked and Idoc posted had junk chars.
    Then I used UTF-8 encoding for my source file to correct this issue. XI showed proper Japanese chars but this time Header part is missing.
    Do I have to specify encoding in "module" for File adapter?
    Regards,

    Thanks for your replies Chirag/Gabriel,
    ISO encoding didn't work.
    My source file will be in UTF-8 format.
    There is one correction. It is ANSI encoding, not ASCII as in the subject.
    I still have this issue when my document offset is 0.
    I tried to play around with FCC and found this odd thing.
    When first line of my input file is blank....and I omit reading the first line with offset 1, then file is read in its entirety.
    Again, when I remove this blank line and the file starts with Header and with offset 0 in File adapter, then again my Header part is missing.
    What to do?
    Regards,
    AV

  • Mail adapter and fault msg

    hai
         in case of error messages while mapping , how it can be captured and how it can be send through mail adapter .
        whether we can use fault msg for the above requirement. what is the use of fault messages?

    Tamil,
    The best thing would be create alerts for both the mapping and adapter alerts. If there is any mapping failure then an email will be send to you. With adapter alerts if there any errors on adapters it will send you a mail. You dont need a fault message for it.
    Check this weblogs for creating alerts:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    ---Satish

  • Forms 6i, open default mail client and add attachment to message

    Hi,
    I would like to use some functionality in my forms application. I want call some action, that opens default mail client in windows platform and add some attachment to message. I want to do this for my reports. I am exporting reports to PDF files. I am using oracle forms / reports 6.0.8.12.1 version. And I cant use build-in PDF export functionality, because exported PDF files are in old PDF version and I have problem with Czech charakters. So I am using my own virtual PDF printer for printing reports. A now I would like to send report as mail attachment. I know that there is this functionality in report preview. When I click button with letter image (showed on screenshot at http://img20.imagevenue.com/img.php?image=00067_screen_122_899lo.JPG) the default mail client is opened in this is created new messages with report (eps) in attachment.
    That is what i need. Only open default mail client and add own attachment to message.
    I found only one solution for Outlook, but I need open default mail client (for example Mozilla Thunderbird etc.)
    Can You help me? Or send some solution how it is solved in report previewer?
    Thank you.

    Hi,
    metalink Note 47498.1 "Programmatically Sending a Fax/Email via Microsoft Exchange" may be a good documentation for you. Have a look in there.
    regards,
    Heike

  • Receive CSV attachment via Mail Adapter and process into ABAP proxy

    Hi,
    I have the following scenario:
    1. Receive e-mail with CSV attachment
    2. Process through Mail adapter (KeepAttachments = Yes in order to retain the CSV attachment)
    3. Receive into ABAP proxy (with CSV attachment)
    The next step is to read the attachment in the ABAP proxy and process the CSV attachment data into CRM.
    The CSV attachment contains the data I wish to process - the body of the e-mail will not contain this information.
    The problem I have is reading the attachment data in the proxy - not sure of the methods/class to call - anyone got any ideas ?
    Another question is this the best way to do this and process the CSV attachment data ?
    I know I could use the PayloadSwapBean to switch the payload to the attachment but then I am stumped with how the attachment is processed through PI 7.1 - how do you transform the CSV format payload into XML so PI will be able to process it through mapping.
    Either option is viable - an answer to either question would be great.
    1. How do you read the attachment data in an inbound ABAP proxy ?
    2. How do you transform the CSV attachment data after the PayloadSwapBean from CSV to XML ?
    Kind regards
    Colin.

    Hi Colin
    As you are not interested in processing the body of email. Swap the payload to the attachment using the PayloadSwapBean
    Change the content from CSV to XML using MessageTransformBean. Now pass this information to Proxy. You dont need to deal with attachments in proxy.
    It is not possible to read attachment in server proxy because the class and interface you create will not have data type which can refer to an attachment processing interface in ABAP.
    Thanks
    Gaurav

  • Mail adapter and XMLAnonymizerBean

    Hello everybody!
    We are using Mail Adapter  to send XML files to our clients. We are using XMLAnonymizerBean (localejbs/AF_Modules/XMLAnonymizerBean) to remove some namespaces and prefixes.
    We have defined:
    anonymizer.acceptNamespaces http://ns1.mycompany.com ns1
    anonymizer.quote "
    After module execution the " (quotes) are removed from the XML and ' (apostrophe) are used in their place
    Are we doing something wrong?
    Thanks in advance
    Julio

    >
    Julio Cesar Torelli wrote:
    > We have defined:
    > anonymizer.acceptNamespaces http://ns1.mycompany.com ns1
    > anonymizer.quote "
    1. try to provide anonymizer.quote " before anonymizer.acceptNamespaces
    2. make sure there are no whitespaces in the parameter listing. even a single whitespace can cause problem.

  • Mail sender and subject mismatch with message content

    I have just started to find a few messages here and there that have a sender and subject which does not match the message content. The frequency of this behavior seems to be increasing. The senders are people I do get mail from and the message content looks like something I would receive from another recognized sender but they don't match. Anyone have any ideas?
    Thanks in advance.

    Never mind. A little more searching solved the problem.
    http://discussions.apple.com/thread.jspa?messageID=11969642&#11969642

  • Mail.app and purging of moved messages with IMAP accounts?

    I REALLY want to like Mail.app but one item that has caused frustration for years is the handling (or lack) of handling of my messages once moved to another folder with IMAP accounts. I would like for Mail.app to purge/expunge the messages from the server automatically when the message is moved but it doesn't seem to complete that transaction until you actually quit out of mail.
    I use multiple computers and I don't remember to quit out of Mail.app going from one of my Macs to another and don't want to but I'm getting tired of having to file the messages twice (or more). Is there a way to set Mail.app to do the automatic instant purging (or expunging) of the messages from the originating folders without having to quit out of the application? This seems to be the default behavior for nearly every other mail client I've used, including Entourage and is an option in Outlook and Outlook Express (PC).

    same is true with popmail, not just imap.
    moreover, i think hitting "remove now" just puts content in your server's trash folder, meaning it's still taking up disk quota and you'll never know till you stop getting mail...

  • New mail: sender and subject dont match message

    Has anyone encountered the problem i have at the moment. When receiving a new message, the sender and subject line are new, however when i open the message the main text is from emails I received months ago? its really strange, only appears to be happening on mail I open on my G5 , not on my laptop.
    Any suggestions please?

    Hi, and welcome to the forums Adam!
    Nope, haven't seen nor heard of this one yet, but First I'd backup your whole Mail folder.
    Try trashing this file first, then logout/in...
    /Users/YourUserName/Library/Preferences/com.apple.mail.plist
    If that doesn't work try the .plists in...
    /Users/YourUserName/Library/Mail/

  • Mail crashes and cannot delete outgoing message with large attachment

    Tried to send an email with too large an attachment. Now it is stuck in Outgoing Mail. I cannot delete it. It just causes the spinning ball and then eventually mail crashes. I need a way to delete the outgoing message. Any ideas would be appreciated.

    Try this:
    1. Quit Mail if it’s running.
    2. In the Finder, go to ~/Library/Mail/Mailboxes/.
    3. Locate Outbox.mbox and move it to the Trash.
    4. Open Mail. A new (empty) Outbox.mbox will be created automatically.
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • Mail reloads and show old/deleted messages as new ones

    I have a  MacBook Pro, 13-inch Retina, Late 2013. Current system is OS X Yosemite 10.10.2.
    I have over a longer period of time experienced problem with my mail program. The application suddenly reloads old, both deleted and not deleted, messages as they were new once. This issue has been on older versions of Yosemite also. I use POP, and the mail is a hotmail account.
    Hope anyone can help.

    Hello,
    I have the same problem but with my iphone 3gs. After the new upgrade to 5.0.1 I realized that all of my old text messages disappear after every new one I receive. I just spoke to an engineer at Apple support and he said he will be calling me back in a few days, once their team finds out what the underlying issue with the software is, that is causing this. As soon as I hear back I will post the outcome. Until then, I suggest you all call and make it apparent to the support line, because when I told them the issue I was having they had no idea, and said it was good that I brought it to heir attention otherwise they hadn't heard about such a situation until now. Hope tha helps :-)

Maybe you are looking for

  • Connect Cable Box Output to MacPro USB Input

    Is it possible (using appropriate cable) to connect the HDMI output of a cable box to a USB 2.0 input on a Mc Pro in order to view cable TV programs?

  • Setting default preferences (CS3)

    Hi, I seem to be losing my preferences a lot recently, when I have a crash, and it's becoming quite tedious fixing them manually. I've managed to successfully java script a few things to work on startup. However there are a few things I don't know th

  • Neo V Update is available

    hi i have read the discussion of ICS, that ICS is available for Sweden, Denmark, Iceland, Finland and Norway this country. So can you tell me when the update is available in india. Solved! Go to Solution.

  • Turning on Apple Products Without having the device

    Wouldn't it be something nice if you can turn your device on Without having it in your hand? You could turn it on from your computer, or if you have a iPod turn your phone, laptop and desktop on with it. Or what if you lost it, and someone picks it u

  • Delete videos in ipod

    hi there, i have a few music videos on my ipod 30g which i would like to delete from it. but when i connect the ipod to my laptop it doesn't show the videos, so i don't know how to delete them. can anybody help me with that? thanks fritz