Unable to recieve content in mail attachment

Hi all,
I am unable to recieve content in mail attachment. I am using java mapping to define mime boundary.
Please suggest any inputs.
Regards,
Saipriya

How is this connected with Adobe forms?

Similar Messages

  • Sending XI-Content as Mail Attachement with specific Filename

    Hi,
    I want to send the Message-Content as a mail attachment with a specific Filename (e.g. 2005-08-31.csv). The content is a CSV File, not a XML
    In the scenario an IDOC is sent to the XI mapped in a CSV-File (via Java-Mapping) and should be send as a Mail Attachment.
    Is this possible and how?
    Thank you for your help
    Thomas

    Hi Thomas,
    You can influence the filename with the ModuleTransformBean. You need at least SP9 for this feature.
    In the Mail Receiver Channel got to tab "Module"
    As first module (before the mail module) enter:
    localejbs/AF_Modules/MessageTransformBean as Local Enterprise Bean with any key
    For this module key you can use in the module configuration following entries:
    Transform.ContentDisposition inline|attachment;filename=<filename>
    Transform.ContentDescription <Filename>
    Transform.ContentType <MimeType>/<SubType>;name="<filename>"
    If you want to send an attachment, use:
    Transform.ContentDisposition attachment;filename="MyFile.csv"
    Transform.ContentDescription MyFile
    Transform.ContentType text/plain;name="MyFile.csv"
    If you use the Mail Package, you can set the file name that way:
    <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
      <Subject>Hello</Subject>
      <From>[email protected]</From>
      <To>[email protected]</To>
      <Content_Type>text/plain;name="MyFile.csv"</Content_Type>
      <Content>Here comes the CSV Data</Content>
    </ns:Mail>
    Hope that helps,
    Stefan

  • Unable to send mp3 with mail attachment. Zip the file doesn't work same

    Tried to send an mp3 file several times and kept getting this message. The file was only 11 mg.
    Unable to send with mail attachment.
    Your message couldn't be sent because a server error occurred. To send this message,please delete the current attachment,then re-attach.
    iMac, Mac OS X (10.7.2)
    Toad replyed try zip file (compress) I did and still got the same message

    Many mail servers cap their message sending or receiving at 4MB.  If you are sending your own work that you want distributed by someone else, check with your internet provider if they can temporarily raise that restriction and the recipient's mail server can temporarily raise those restrictions.   Better would be for both of you to be able to access a webhosting site to share the material and use some FTP programs to send the file to each other.    If it is an MPEG-3 of a commercial CD's music, we can't help you as such distribution is illegal.

  • Unable to read PDF's when recieved as e-mail attachment

    I've developed a new sympton on my iPhone 4 in that I am unable to read any PDF files that are sent to me as an attachment on an e-mail.
    The files comes as an attachment  winmail.dat file.
    I have checked the help section which advised me that the e-mail sender is the issue as the e-mail was sent in RTF.
    I've checked this and the e-mail was definatly not sent in RTF, it was sent in HTML.
    I have tested this myself by sending myself and e-mail from my Outlook account on my PC to then recieve it on my iPhone (same e-mail account), sent in HTML and I am getting the same winmail.dat again.
    Funny thing is I had done the same thing only yesterday and it worked OK although I have since had no end of trouble trying to (unsuccessfully) backup my iPhone to iTunes but that's a story for another thread!
    Does anybody have any ideas?
    Thanks in advance
    James

    At this time, I do not really know the answer, but for now all is terrific. Earlier, along with the .pdf file, I tried to send a 93kb .doc file, and the same thing happened, no display at all. I have tried both of these files many ways. ( I realize that this may not have anything to do with the result ), but yesterday, I added an IMAP Gmail account that worked as it should. I just did a delete on the Gmail account, tried both files, multiple times, and they load and display entirely as they should. I will do more research, but I no longer have any problems with the world's greatest phone. Thanks.

  • Using the Mail content and Mail Attachment in the mapping

    Hi,
    I have a requirement in which I need to read a file from the mail server and I am using the sender mail adapter for this. I have to convert the attachment of the mail in to the payload. To do this I am using the payload swap bean and mail transform bean. Now the issue is I have to get the information from both attachment and the mail content and need to map it to the target message. Please let me know how to do this.
    Thanks!
    ~Vaas

    Not sure if there is a staright forward way to achieve this.
    But I can think of a work around for your scenario.
    >>To do this I am using the payload swap bean and mail transform bean.
    Instead of doing it this way, try
    1. Message Transform bean that will transform the payload(content of the mail) to XML.
    2. PayloadSwapBean to switch Payload and Attachment.
    3. Message Transform bean to transform the attachment to XML.
    4. Custom adapter module to read the attachment, contnet and create your own desired XML.
    Alternatively, step 4 could be replaced by a Java mapping doing the same operation.
    Regards
    Jai

  • How to send table contents as mail attachment.

    Hi,
       I am showing data into webdynpro table by accessing database. Now i have to send these data through mail to different persons. How can i do it. I tried it by sending the table elements into excel files but i am facing some problems. can it be done through HTML files??
          Please give a solution to it.
          Thanks and Regards..
          Pankaj Kumar.

    Pankaj
    I am giving sample code here.
    Put this code in an action behind Send Mail button on your iview as an example.
    Also add external jar file mail.jar to your web dynpro project to achieve your objective.
         if(wdContext.currentContextElement().getTest()== null)
              IWDWindowInfo windowInfo1 = wdComponentAPI.getComponentInfo().findInWindows("EnterText");
              IWDWindow window1 =wdComponentAPI.getWindowManager().createWindow(windowInfo1,true);
              window1.open();
              window1.setWindowPosition(300,300);
              wdContext.currentContextElement().setEmptyText(window1);
         } else
              Properties props = new Properties();
              String host = "XXX.XXX.X.X"; /*ip address of mail server */
              props.put("mail.smtp.host", host);
              props.put("mail.smtp.port", "25");
              props.put("mail.smtp.auth","false");
         //     auth = new AuthenticationBean();
              Session session = Session.getInstance(props, null);
               MimeMessage  message = new MimeMessage (
              Session.getInstance ( props, null ) );
             Address toAddress = new InternetAddress();
              Address fromAddress = new InternetAddress();
              Address ccAddress = new InternetAddress();
              Address bccAddress = new InternetAddress();
                     //new window code
                   IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("SuccessWindow");
                   IWDWindow window =wdComponentAPI.getWindowManager().createWindow(windowInfo,true);
                   window.open();
                   window.setWindowPosition(300,300);
                   wdContext.currentContextElement().setSuccess(window);
            try
                   MimeMultipart multipart = new MimeMultipart();
                   BodyPart messageBodyPart = new MimeBodyPart();
                     fromAddress = new InternetAddress(wdContext.currentContextElement().getFromEmail());
                   message.setFrom(fromAddress);
                   toAddress = new InternetAddress(wdContext.currentContextElement().getRfcEmail());
                   wdContext.currentContextElement().setErr(wdContext.currentContextElement().getRfcEmail());
                   message.setRecipient(Message.RecipientType.TO, toAddress);
                   message.setSubject(wdContext.currentContextElement().getMycontactDD());
                   messageBodyPart.setText("Message From :"" " wdThis.wdGetMailAppController().wdGetContext().currentContextElement().getName()"\r\n""\r\n"+wdContext.currentContextElement().getTest());
                   multipart.addBodyPart(messageBodyPart);
                   message.setContent(multipart);
                   Transport.send(message);
                 catch (AddressException e)
                             wdComponentAPI.getMessageManager().reportWarning(e. getLocalizedMessage());
                              e.printStackTrace();
                 catch (SendFailedException e)
                        wdComponentAPI.getMessageManager().reportWarning(e. getLocalizedMessage());
                         e.printStackTrace();
                 catch (MessagingException e)
                         wdComponentAPI.getMessageManager().reportWarning( e.getLocalizedMessage());
                         e.printStackTrace();
    Please award points if this helps as this will give you a hint for sending mails.

  • HT4759 how do i set up i cloud mail on outlook 2007 i have an i cloud account, and i can send a test email but outlook will not send or recieve any other mail

    i used cloud set up with oulook 2007 for my icloud email but i am unable to recieve or send mail to outlook it goes to the cloud and outlook will send test messages but outlook itself comes up with error messages about feeds any one help

    Hi neilbg,
    Here's a page with setup instructions for iCloud by device:
    iCloud - Setup on a PC
    http://www.apple.com/icloud/setup/pc.html
    If that does not resolve things, here are some recommended steps for troubleshooting iCloud mail:
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/TS4002
    Cheers!
    - Ari

  • Unable to get source file content as mail body in file to mail scenario

    Hi Friends,
    I am facing one problem with one of my file to mail scenario in PI(SP9).  I have done bypass scenario(without IR only with ID objects). Scenario is working fine, i am getting mail also.  But my requirement is i want complete source file content as a mail body (not xml format, text format).  I have checked all options, but configured scenario bydefault taking source content as a attachment and mail body is empty.  I have tested below options
    1. If i choose message protocol as FCC mechanism at source side content at target side i am getting xml format as a attachment( In mail adapter i have selected message protocol as xi payload, and without packate option on mail adapter). If i choose message protocol as xi all, i am getting 2 files as a attachment (one file as a payload content and second file as a source file content in xml format).
    2. If i choose message protocol as file at souce side that time i am getting source complete content as a attachment at target side in xml format, but mail attached file content is flat file(.xml extension) format. When i tried to open attachment file that time i am getting error in explorer, but i can see only one row in explorer  remaining rows unable to see.
    Please share your ideas on this.

    Hi,
    Follow below steps
    1. First basis level need to configure setup(SMTP) for mail.  After that only mail will go from SAP.
    2. Source side depending on requirement take communication channel(idoc, file etc)
    3. Receiver side communication channel take mail adapter and configure below setup
       3.1 select message protocol XI ALL/ XI PAYLOAD(WITH PACKAGE or WITHOUT PACKAGE)
       3.2 if message protocol is XI ALL, the complete content will be sent as a attachment along with payload file
       3.3 if message protocol is XI PAYLOAD, the source message, the source message will be sent as attachment.  Playload file filter automatically.
       3.4 If you use PACKAGE option on mail adaper, this time source strucute need to import from SAP (some standard structure only will be support, without strucutre we can't work).  If you choose package option no need to give mail id on communication channel, we need to pass mail id's from source structure.
    I hope now clear.

  • Sender Mail Adapter - forcing content as an attachement

    Hi all,
    We are using the Sender Mail Adapter to pull emails from the inboxes of some users of an exchange server.  We use the Mail Package option.
    We have noticed that the content of the emails are by-default added as attachments when there are no real attachments to the emails.  However the content is not added as an attachment when one or more attachments are present in these emails.
    Is there a way of forcing the Sender Mail Adapter to always add the content as an attachment and keeping the other attachments as well?  and of course maintain the Mail Package message type as the main payload...?
    Many thanks,
    Aldo

    Hi Stefan,
    Thanks for your reply.  I am glad to hear that I am wrong again )
    In your opinion is it possible to force the Outlook Exchange server to add the content attachment every time?  I mean by doing some configuration on it...?
    The reason why we would like to do this is because when - in the content tag of a Mail Package message - we have MIME message parts that are of content-type text/html we are having problems in decoding the html back to a readable format.
    To do this we use the apache QuotedPrintableCodec Java class.
    This works fine when the content type of the message is just text/plain but we get an exception when we try with text/html.
    The exception we get is:
    org.apache.commons.codec.DecoderException: Invalid URL encoding: not a valid digit (radix 16): 13
    I don't know if this is because of the two character sets we have in the payload (utf-8 and iso-8859-1) or if it is for other reasons...
    If you could help me figure out how to forward any HTML email to another system in a readable format it would be great.
    Thanks for your support,
    Aldo

  • Mail adapter - content coming as attachment

    Hellow experts,
    I am sending data from R3 to emails using mail adapter.  I am using the follwoing mail package format.  
    <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
      <Subject>Water Catchment Form</Subject>
      <From>[email protected]</From>
      <To>[email protected]</To>
      <Reply_To>[email protected]</Reply_To>
      <Content_Type>text/plain</Content_Type>
      <Content>You have work order(s) !!</Content>
      </ns1:Mail>
    In my mail adapter, I have ticked
      Use Mail Package Format and
      Keep Attachments
    I am getting the content as an attachment - I want it inside the email.
    The attachment is coming with a name Untitled.pdf  - I need the actual name.
    Am I missing anything?
    What can I do to get things right?
    Thnx

    Hi Sabbir
    refer this Pdf may be helpful for u
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
    Thanks!!

  • Mail attachement content trnsfer encoding 8bit , 7bit

    Good morning to everybody.
    I have a problem reading mail attachement.
    When the attachement is 8bit encoded the exadecimal char "3D" is write in a file as "0D". This is wrong
    When the attachement is 7bit encoded the exadecimal char "3D" is write in a file as "3D" . Thi is right
    Is there anyone who knows why of this beaviour?
    Many thanks

    I'm using the msgshow.java that is the example included in the java mail library.
    Attachement downloaded with JavaMail (the bad one):
    �� 3D ==> 0D (CR)
    2007-05-15;18.11.26;978;000469,00;380;Italy
    ;LUISA SPAGNOLI NAPOLI IT;34009575;8036527 ;5651;00;
    Attachement downloaded with outlook (the good one):
    �� 3D not translated
    2007-05-15;18.11.26;978;000469,00;380;Italy =
    ;LUISA SPAGNOLI NAPOLI IT;34009575;8036527 ;5651;00;
    Here the properties of the mail message:
    Microsoft Mail Internet Headers Version 2.0
    Received: from EXSMTP-IN2.sede.corp.sanpaoloimi.com ([10.244.7.21]) by EVS01.sede.corp.sanpaoloimi.com with Microsoft SMTPSVC(6.0.3790.2499);
         Mon, 28 May 2007 08:09:14 +0200
    Received: from secgw-b-e02.intesabci.it ([172.19.0.27]) by EXSMTP-IN2.sede.corp.sanpaoloimi.com with Microsoft SMTPSVC(6.0.3790.2499);
         Mon, 28 May 2007 08:09:13 +0200
    Received: MHUBINT
    Received: FW
    Received: from mail1.ssb.it ([192.106.129.13])
         by mailbox.intesabci.it with SMTP id l4S696n5006757
         for <[email protected]>; Mon, 28 May 2007 08:09:09 +0200
    Received: (qmail 11377 invoked by uid 509); 28 May 2007 06:02:04 -0000
    Received: from 127.0.0.1 by Imhotep (envelope-from <[email protected]>, uid 501) with qmail-scanner-2.01
    (spamassassin: 3.1.3.
    Clear:RC:1(127.0.0.1):.
    Processed in 0.078893 secs); 28 May 2007 06:02:04 -0000
         Mon, 28 May 2007 08:02:03 +0200 (CEST)
         (Postfix) with SMTP id 6798F34257;Mon, 28 May 2007 08:02:03 +0200 (CEST)
    to: <[email protected]>,
    from: <[email protected]>
    subject: 28 May 2007 08:00 PS12 FROD-ATM1
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
         boundary="P=_NextPart_000_01BD3BAF.A762FD80"
    Date: Mon, 28 May 07 08:00:27 B
    Message-Id: <[email protected]>
    Return-Path: [email protected]
    X-OriginalArrivalTime: 28 May 2007 06:09:13.0674 (UTC) FILETIME=[B707A2A0:01C7A0EE]
    --P=_NextPart_000_01BD3BAF.A762FD80
    CONTENT-TYPE: TEXT/PLAIN; CHARSET="US-ASCII"
    Content-Transfer-Encoding: 8bit
    --P=_NextPart_000_01BD3BAF.A762FD80
    Content-Type: text/plain; charset=us-ascii; name="SPIMI.TXT"
    Content-Disposition: attachment
    Content-Transfer-Encoding: quoted-printable
    X-MIME-Autoconverted: from 8bit to quoted-printable by mailbox.intesabci.it id l4S696n5006757
    --P=_NextPart_000_01BD3BAF.A762FD80
    CONTENT-TYPE: TEXT/PLAIN; CHARSET="US-ASCII"
    Content-Transfer-Encoding: 8bit �������� I think the problem is here
    P=_NextPart_000_01BD3BAF.A762FD80

  • File to Mail with content as excel attachment

    Hi there,
    Can somebody please guide me in achieving this goal.
    I have a requirement in which I have to send the email content as an excel attachment which is very new to me.
    Requirement
    File.............XI............Mail
    Sender File: xyz.xml
    Mapped with standard mail.xsd and concat all the requested filed to the content but now the requirement is changed and I need to send the content as an excel attachment.
    I don't know JAVA & ABAP and this is the first time I am using mail adapter.
    Can somebody please guide me how to achieve this.
    In Another interface I have to send the source file name as a mail attachment, By Default mail adapter send the filename as untitled.
    Is there easy way to changed the name of the attachment to the source file name.
    File ............... XI.........Mail.
    Source file: xyz.xml
    No mapping required just send the file to the mail adapter but condition is that the file name should be the same.
    Mail (Attachment: xyz.xml)
    Please can somebody suggest me how to achieve this.
    Thanks,

    Hi,
    Please refer the blogs given which help you a lot regarding your requirement.
    /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems

  • I can't recieve forwarded e-mails, i see who forwared it and who it was forwarded to, but i get no content except  a header saying forward message follows and then nothing

    I can't recieve forwarded e-mails, i see who forwarded it and who it was forwarded to but no content. Just in the body it says forwarded message as follows and the nothing. Sometimes it will give some numbers such as    R:95.9108
                                                                                             P:95.9108 M:97.0282 C:986951  )

    No problem at all using gmail. The only reason that I asked was because I did "Google" the issue and gmail came up in the search a couple ot times and I thought that I had seen this issue on the discussion site before and gmail came to mind. Personally, I love Google. I would be lost without it, but I digress.
    I was just going to suggest that you may have better success looking for answers on the gmail for iOS devices help site or on the gmail general help site. I don't have gmail so I really know nothing about it and the suggestion that I made in my first post is merely a standard troubleshooting step that helps solve many minor issues on the iPad.

  • Why am i unable to read my e-mails/. they arrive in the in box but on opening them, the content is missing

    why am i unable to read my e-mails. they arrive ok, i can see them in my in box but when opening them the content is missing. i have been succsesful in opening them on other computers which dont use firefox

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • 11.0.03  unable to send completed adobe questionnaire as mail attachment. What now?

    Unable ot send completed PDF questionaire as mail attachment. What now?

    With all the wealth of data you provide...
    My gues is that the file was not properly enabled to be answered by mail. Unless you can use Acrobat for this, one of your best bets is to contsct the author of the file and ask for a properly enabled copy.

Maybe you are looking for

  • Having problem with correct color using Photoshop Elements 9 and Hp photosmart c6150.

    Have been trying to print pictures from PSE9 to HP Photosmart C6150 and the colors are overly red and not the same as the original photo.  I tried to get the ICC profile online without any success.  How do I setup my color management on PSE9 and my C

  • Importing Word Documnet

    Hello everyone.... Myself Nagaraj, new user of Robohelp 7.0. Basically I am converting word document in to Microsoft HTML (.chm file) using Robohelp. Till 3rd step its working fine but from the 4th step till end i am not getting. Can any one help me

  • Secure link to iTunes failed. How can I fix the problem?

    Secure link to iTunes store failed. How can I fix the problem?

  • Ridiculous Customer Service

    After waiting a week for service on our non-working DSL line, the technician that came entered our home and looked at the lines run in the house. He says... They are run incorrectly...I'm surprised it ever worked at all...Needless to say he fixed the

  • My computer doesn't recognize my new itouch...please help...

    I got a new i touch for cristmas, and everytime i connect it to my computer, it wont recognize it.(I have an Ibook G4, Mac OS X 10.4.11 just in case) However, it does work fine on my step dads computer. The USB has to be working fine, because it does