Content coming as .txt attachment along with email but not in email body

Hi,
I have a proxy to email scenario. The requirement is to generate an excel sheet and keep it as an attachment and send it to user through email.
I am able to get the excel sheet as an attachment in email but the content of email is also coming as attachment which I do not want.
Problem area :
============================================
The Content should come in Email body but it is coming as .txt attachment in email. The email body is blank.
Can someone help as how I can get the content in email body.?
/Regds
Azahar

Hi Azahar,
   May you can find the solution in the "
Adapter-Specific Message Attributes
Configuring the Receiver Mail Adapter (SAP Library - Partner Connectivity Kit)

Similar Messages

  • Email Integration Scenario - Issue with email body content

    Hi All,
    We have an Email to File Scenario. PI is connected to Outlook server using Sender Mail Channel using POP3. We are able to fetch and display emails correctly for most of the received emails.
    However we notice that for Email sent from few Mail server like Yahoo mail, Gmail, Hotmail, we are not getting the Email content correctly.
    Issue is happening with Emails sent in HTML/Rich text format (containing Formatting and without any attachments). In the receiver system we see the email is converted to Plain text format. If the same email is sent with some attachment / Embedded Image, we get all the Formatting correctly in Receiver System.
    A closer look at Pimon we found the following:
    1. When Email is sent with Formatting (without any attachment/ image) in Pimon we see that it creates 2 Payloads (screenshot attached)
    2. The First Payload - MainDocument contains the Email content in XML format, but is missing the Email formatting data in it.
    3. The other Payload - ([email protected]) contains the actual Formatted Email Content.
    Not sure why the formatting data is missing from MainDocument. Instead its coming in other payload. Due to this we are not able to display correct data at receiver end as we parse the MainDocument as our Input Payload Stream
    Note: We cannot use payload swap bean, as it will swap the data for all the incoming emails which we don't want.
    Anyone faced similar issue? Steps to get proper formatting data in MainDocument..
    Suggestions / Inputs will be highly appreciated.
    Thanks,
    Azhar

    Azhar,
    We cann't influence the behavior of Gmail, Hotmail. But have to get HTML as main payload, so we have to swap payload (not always, in some cases based on a condition). Please try below Java mapping. In Operational Mapping set "Read Attachments".
    package javaapplication1;
    import java.io.*;
    import com.sap.aii.mapping.api.*;
    import java.util.Collection;
    public class NewClass6 extends AbstractTransformation {
        @Override
        public void transform(TransformationInput transformationInput, TransformationOutput transformationOutput) throws StreamTransformationException {
            try {
                InputStream inputstream = transformationInput.getInputPayload().getInputStream();
                OutputStream outputstream = transformationOutput.getOutputPayload().getOutputStream();
                byte[] b = new byte[inputstream.available()];
                inputstream.read(b);
                //Loop over attachments and if attachment name starts with 'payload-' swap it with main payload. Edit below logic as needed.
                Collection<String> listAtt = transformationInput.getInputAttachments().getAllContentIds(true);
                for (String att : listAtt) {
                    if (att.startsWith("payload-")) {
                        b = transformationInput.getInputAttachments().getAttachment(att).getContent();
                outputstream.write(b);
            } catch (Exception exception) {
                getTrace().addDebugMessage(exception.getMessage());
                throw new StreamTransformationException(exception.toString());

  • Notes in Mail: Every time I type a new note it is emailed to my Mail along with a new note for every change I make to it

    Notes in Mail: Every time I type a new note it is emailed to my Mail along with a new note for every change I make to it.
    I don't mind the Note being updated in my mail but I don't need a new copy every time I edit/add to the note.
    It's driving me mad!
    Thanks.

    A new tab opens by default as a blank tab (about:blank).
    If that isn't the case then an extension has changed that behavior.
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • IO assigned with Asset,but not coming at the time of PO creation

    Hello
    IO assigned with Asset,but not coming at the time of PO creation.
    I have made following settings:
    1     Depreciation - IFRS (INR)              1     0L
    15     Income Tax Act                             0
    20     Depreciation - Indian GAAP (INR)     3     1L
    30     Depreciation - IFRS (USD)              0
    31     Depreciation - Indian GAAP (USD)       0
    In ACSET-Account assignment:
    for dep area-20
    CAUFN     Internal Order     *     Generic Trans. Type     02 Depreciation Run
    KOSTL     Cost Center     *     Generic Trans. Type     02 Depreciation Run
    so currently i am using only dep area-20 only(Indian GAAP)
    CAPEX budgeting is through IO. AUC is not doing through IO,its directly from AIAB/AIBU
    AS01
    KO01
    AS02
    KO22
    KO30
    so what is the problem,why i am not getting IO (which is in display mode in PO) when assigned the Asset with category of "A" (asset) in PO.......when i assigned Asset- the GL account come automatically but IO didn't come.
    kind regards

    Hey Ajay
    thanks for your reply.....
    now i'm getting new error:
    Parallel depreciation area 31 is not posted
         Message no. AA565
    Diagnosis
         The asset to be posted does not manage parallel depreciation area 31, or
         transaction type  that you are using is limited to certain depreciation
         areas, and does not contain depreciation area 31. This is incorrect.
    System Response
         Posting is rejected.
    Procedure
         Check the asset and the transaction type.
    I have checked some configuration but not able to debug it.
    regards

  • Why does the FP 10 work with firefox but not with IE8

    I down loaded the folowing for xp FP uninstall, FP plugin and FP debug from the link in one of your replys. now I can watch youtube  with firefox but not with IE8. you asked me before if i was using 16 bit. whats that mean and how do I find out? please help I just want to watch youtube on IE!

    Ok Shag, since you hadn't been on a Forum before, then I'll take some of what I said back:-) I wanted you to stay on one thread, you can get in trouble trying things that may cause you more problems than you had in the beginning. I just had your best interest at heart
    I'll even overlook your all caps here:-) At least you responded
    Now since you say you fixed it, what you should do is to confirm it is fixed by taking a look at your Flash folder. This contains all of the Flash files for IE and FF. Then make sure you have the IE add on and the FF add on. That way if you have any future problems, at least you would know it is not the Flash Player.
    You should only have 2 .exe files for IE and 1 for FF.
    For Video editing, I would check Microsoft and see what they have. Perhaps someone else will come along with other info for you.
    No, I don't get paid here, since I am not an employee. Just a user helping others, since I had a problem at one time and after 4 hours of researching solved it.
    Let me know if you want to check the Flash files.
    Thanks,
    eidnolb

  • HP D110 AIO printer. Prints jam when printing with wireless, but not when hooked to USB cable! HELP!

    I have a HP D110. It jams the paper when I print with wireless, but not when I use USB cable. Any ideas?

    From what you describe you are having issues printing from MS Office. Have you had trouble printing from other resources on your computer (e.g. from the internet or another program)? The first thing I am going to suggest is that we start by uninstalling and reinstalling the printer from the resources available online. 
    First if you use a USB cord, make sure to remove it (this is important). Do not plug it back in until the software directs you to. Then go through the Devices and Printers, Programs and Features and Device Manager folders and insure that all copies, files, and programs related to the printer are removed. Then as directed, restart the computer. 
    In the START menu type "%temp%" and press ENTER. Here I want you to press Ctrl+A and hit DELETE. Some of the files will not allow you to delete them, skip those files and delete the majority that allows it. 
    http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?prodNameId=3562006&lang=en&cc=us...
    Install that and let me know the result! 
    Have a great day!

  • Move graphics with text--but not inline--in PM...??

    Hello, is there a way in PageMaker to move graphics with text but not inline? I ask because right now I see two options for graphics:
    --inline, so you cannot place the graphic exactly where you want AND the text only flows way above or below--but not next to--the graphic
    or
    --independent so you can place the graphic exactly where you want and the text DOES flow right next to the graphic, but then the graphic doesn't move with the text
    I'd like to be able to place graphics exactly where I want AND have them move with the text, like the "Move object with text" option in Word.
    thank you!
    L

    well it has been a while since i used PageMaker so i didn't realize it was "dead."
    though i'm not surprised and am kind of glad. i was hired into a new job recently
    to work on a department newsletter, and i'm trying to find a good authoring program
    within our budget. right now the newsletter is in Word but we've had a lot of problems
    with Word so i'm seeking an alternate solution. i'd like Frame but again there isn't
    enough money in the budget. i need a good option that is $500 or less...i'm trying Publisher
    now too but not enough functionality...

  • TA25361 I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro.  Is there any way to recover this info?  Some documents can be opened and resaved with textedit, but not my database with all important addres

    I have a ton of documents and databases in AppleWorks v 6.0 that I can no longer open on my MacBook Pro.  Is there any way to recover this info?  Some documents can be opened and resaved with textedit, but not my database with all important addresses.

    I tried Peggy's List > Select All > Copy > Paste into an AW spreadsheet suggestion.
    In my case, pasting into the spreadsheet lost all text formatting (mostly text set to bold). The results of formulas were pasted, and checkboxes were pasted as "on" or "off". The DB did not contain any pop-up menus or radio buttons, but I expect they would transfer as a number showing the list position of the chosen item.
    Pasting the copied List view data into a Numbers table gave a result similar to that with AppleWorks. I selected B2 as the target cell (for top left cell of the pasted data) to avoid any effects of posting into a header row or column. Bold and regular text formatting looked the same as it had in AW's List view.
    Based on that, I'd slip the 'paste into an AppleWorks Spreadsheet step, and paste directly into a Numbers Table.
    Regards,
    Barry

  • Tomcat gives 404 with Netscape, but not IE

    Why would I get a 404 for an application with netscape but not with ie?
    I am using Tomcat 5.5.
    Is there something special that I need to do for each browser?
    Thanks in advance
    Burt

    Why would I get a 404 for an application with netscape but not with ie?
    I am using Tomcat 5.5.
    Is there something special that I need to do for each browser?
    Thanks in advance
    Burt

  • I get sound from Youtube with Safari but not with Firefox

    I get sound when using my MacPro with Safari but not with Firefox.

    Did you check the volume setting in the player to make sure that the sound isn't muted?
    You can try to clear the Flash local storage.
    Flash Website Storage Settings panel:
    *http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html
    Flash Local storage settings Help:
    * http://www.macromedia.com/support/documentation/en/flashplayer/help/help02.html

  • My bank id works with IE but not in Firefox, even if I run without extensions. What is the problem?

    My bank id works with IE but not in Firefox, even if I run without extensions. What is the problem?

    Make sure you are using the correct user name / password.
    https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can
    https://support.mozilla.org/en-US/kb/secure-connection-failed-error-message

  • I am travelling for a year. I have my iPod touch 4g with me, but not my MacBook. Is there a way I can update to IOS 5 without losing my music,apps, photos..

    I am travelling for a year. I have my iPod touch 4g with me, but not my MacBook. Is there a way I can update to IOS 5 without losing my music,apps, photos..

    Yes. get a computer with iTune 10.5 and:
    - Transfer iTunes purchases to the computer:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    - Transfer other stuff using a third-party program like one of those discussed here.  Most are good for music.  It is harder to find one for other stuff like synced photos.
    Copy music from Ipod to new computer...: Apple Support Communities
    - Connect the iPod to the computer and make a backup by right-clicking on the iPod under Devices in iTunes and selecting Back Up
    - Restore the iPod from backup and sync as neccessary.

  • I have to open website which opens only with google but not from safari. how can i get such google?

    i have a website which opens only with google, but not google from safari. how i can get google w/o using safari?

    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the errant extension by uninstalling and reinstalling it. Its settings will revert to their defaults. If the extension still causes a problem, remove it permanently or refer to its developer for support.

  • HT201412 my apple ipad is disabled and saying connect to itunes. i tried to connect with itunes but not responding

    my apple ipad is disabled and saying connect to itunes. i tried to connect with itunes but not responding

    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/ht4097

  • Why am I now having certificate issues with Firefox but not IE?

    I can no longer log into Gmail, Facebook, Amazon, etc... using Firefox. I get the following error "accounts.google.com uses an invalid security certificate. The certificate is not trusted because no issuer chain was provided. (Error code: sec_error_unknown_issuer)". It works with IE but not Firefox. This just started a few days ago - prior to that I was able to log into those https sites without issue.
    Any suggestions? Thank you.

    "browser.xul.error_pages.expert_bad_cert" was set on false so I set it to true and tried reloading.
    Got the page giving me the option to add exception and continue. Kept trying that and would not continue to the page even after accepting 10+ times.

Maybe you are looking for

  • Spool  List not printing in Background

    Hi,    When i try to execute the report in background in development system i can able to see the spool list, whereas when i try to execute the same report in testimg server(may be with more data) i can not see the spool list but the job is in finish

  • How to get contacts from phone to macbook air

    How do I get all my contacts from my iPhone 5s to my new macbook air?  I have a different account than my apple ID hooked up to my phone so I don't know what to do.

  • ORA-00164 Autonomous and Distributed Transactions in Oracle 8i - Forms6i

    Hi, in Forms6i I'm using Autonomous transactions (insert and update), and I want to use also a database link to make a query in a remote database (Distributed transaction). Even when this request are done in different PL/SQL within Forms6i, I get the

  • MICR location at bottom of printed page

    I have been working with formatting RTF so that the MICR font string will appear in proper location at bottom of page but can not find how to over ride footer space allocation. I have set bottom margin to 0.17 and Layout/Footer to 0" and still there

  • How to load text file

    Dear All, How is it possible load a text file that contain SQL commands in the form and then execute the commands. Regards