MAIL WITH SMALL ATTACHMENTS LIKE 1.00 MB ALSO DOESN'T GO

WHEN I TRY TO SEND MAILS WITH ATTACHMENTS THEN ATTACHMENTS AS SMALL AS 1.00 MB IS ALSO NOT GOING. WHEN I LOG IN TO MY SERVICE PROVIDER SITE AND MAIL IT FROM THERE THEN THERE IS NO PROBLEM.

Is that a Thunderbird support question? Firefox doesn't "do" email, but it will display email at the ISP website.

Similar Messages

  • Sending mail with multiple attachments

    hi.I wrote a code to send mail.but i need to send mail with multiple attachments.here is the code i wrote.what should i do to send the mail with multiple attachments.if i run this code iam able to send mails but not attachments.please help me
    <%@ page import="javax.mail.*,javax.mail.internet.*,java.util.Date,java.io.*,java.net.InetAddress,java.sql.*,java.util.Properties,java.net.*,javax.sql.*,javax.activation.*,java.util.*,java.text.*" %>
    <%@ page import="java.io.*,java.sql.*,java.net.*,java.util.*,java.text.*" %>
    <%
         String Attachfiles1="";
         String Attachfiles2="";
    String Attachfiles3="";
    if("Send".equalsIgnoreCase("send"))
              try
         String subject="",from="",url = null,to="";
         String mailhost = "our local host";
         Properties props = System.getProperties();
         String msg_txt="";
         String strStatus="";
    // byte[] bin=.....;
    //Adds Attechment:
    Multipart multipart = new MimeMultipart();
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText("Here are my attachments");
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    //first attachment
    DataSource source = new FileDataSource("C:\\img1.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("C:\\Telnor1.jpg");
    multipart.addBodyPart(messageBodyPart);
    //Second attachment
    DataSource source2 = new FileDataSource("C:\\img2.jpg");
    messageBodyPart.setDataHandler(new DataHandler(source2));
    messageBodyPart.setFileName("C:\\Telnor2.jpg");
    multipart.addBodyPart(messageBodyPart);
    //etc...
    message.setContent(multipart);
    Transport.send( message );
    String mailer = "MyMailerProgram";
    to=request.getParameter("to");
    from=request.getParameter("from");
    subject=request.getParameter("subject");
    msg_txt=request.getParameter("message");
    props.put("mail.smtp.host", mailhost);
    Session mailsession = Session.getDefaultInstance(props, null);
    Message message = new MimeMessage(mailsession);
    message.setFrom(new InternetAddress(from));
    message.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
    message.setSubject(subject);
    message.setHeader("X-Mailer", mailer);
    message.setSentDate(new Date());
    message.setText(msg_txt);
    BodyPart messageBodyPart = new MimeBodyPart();
    BodyPart messageBodyPart2 = new MimeBodyPart();
    Multipart multipart = new MimeMultipart(); // to add many part to your messge
    messageBodyPart = new MimeBodyPart();
    javax.activation.DataSource source = new javax.activation.FileDataSource("path of the file");
    messageBodyPart.setDataHandler(new DataHandler(source));
    messageBodyPart.setFileName("file_name");
    messageBodyPart2.setText("message"); // set the txt message
    multipart.addBodyPart(messageBodyPart);
    multipart.addBodyPart(messageBodyPart2);
    Transport.send(message);
    out.println("Message Sent");
    catch (Exception e)
    e.printStackTrace();
    if("Attachfiles".equalsIgnoreCase("attachfiles"))
    Attachfiles1=request.getParameter("fieldname1");
    Attachfiles2=request.getParameter("fieldname2");
    Attachfiles3=request.getParameter("fieldname3");
    %>
    <html>
    <body>
    <div class="frame">
         <form action="Composemail.jsp" method="post">
              <b>SelectPosition:</b> <select name="cars" >
    <option value="ABAP">ABAP
    <option value="saab">Saab
    <option value="fiat">Fiat
    <option value="audi">Audi
    </select><br><br>
    <table border="1" cellpadding="2" cellspacing="2">
    <tr><th>Name</th>
    <th>EmailId</th>
    <th>ContactNumber</th>
    <th>Position</th>
    </tr>
    <tr>
    <td>
    </td>
    </tr>
    </table><br>
    <b>SelectUser :</b><select name="cars">
    <option value="Administrator">Administrator
    <option value="saab">Saab
    <option value="fiat">Fiat
    <option value="audi">Audi
    </select>
    <br>
    <b>To :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="to" size="72"><br>
    <b>From :</b>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="from" size="72"><br>
    <b>Subject :</b>&nbsp&nbsp&nbsp<input type="text" name="subject" size="72"><br>
    <%=Attachfiles1%><br><%=Attachfiles2%><br><%=Attachfiles3%><br><br>
    <b>Message:</b><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<textarea rows="10" cols="50" name="message">
    </textarea> <br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname1" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname2" value="filename" size="50"><br><br>
    <b>AttachedFile:</b>&nbsp<input type="file" name="fieldname3" value="filename" size="50"><br><br>
    &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="submit" name="attachfiles" value="Attachfiles">
    <center>
    <input type="submit" name="send" value="Send" >
    </center>
    </form>
    </div>
    </body>
    </html>

    Create a separate MimeBodyPart object for each attachment, rather than reusing
    the same one over and over.

  • Sending mail with multiple attachments in jsp

    hi .I wrote a code to send a mail in jsp.but now i need to send mails with multiple attachments.how can i send mail with multiple attachment.

    Create a separate MimeBodyPart object for each attachment, rather than reusing
    the same one over and over.

  • Sending mail with 2 attachments

    Hi All,
            I have a requirement where I have to send a mail with 2 attachments. Both attachments should be excel sheets.
    Iam using the function module
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = gd_doc_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = gd_sent_all
        TABLES
          packing_list               = it_packing_list
          contents_txt               = it_message
         contents_bin               = it_attachment
          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.
    I don't know where to pass another attachment.
    How can it be done?
    Kindly help me.
    Regards,
    Krithika

    Hi,
    Try this code.
    you have to populate both packing_list and contents_bin internal tables before passing to the fm SO_NEW_DOCUMENT_ATT_SEND_API1
    FORM CONVERT_OTF_TO_PDF TABLES OTFTAB STRUCTURE OTF.
      CLEAR: SOOD, W_LINES, CONTENT_IN, CONTENT_OUT.
      REFRESH: CONTENT_IN, CONTENT_OUT.
      DESCRIBE TABLE OTFTAB LINES W_LINES.
      SOOD-OBJLEN = W_LINES.
      REFRESH: CONTENT_IN, CONTENT_OUT.
      CLEAR: CONTENT_IN, CONTENT_OUT.
       CONTENT_IN[] = OTFTAB[].
        CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
             EXPORTING
                  FORMAT_SRC      = 'OTF'
                  FORMAT_DST      = 'PDF'
                  DEVTYPE         = 'HPLJ5SI'
    *         FUNCPARA        =
                  LEN_IN          = SOOD-OBJLEN
    *    IMPORTING
    *         LEN_OUT         =
             TABLES
                  CONTENT_IN      = CONTENT_IN
                  CONTENT_OUT     = CONTENT_OUT
             EXCEPTIONS
                  ERR_CONV_FAILED = 1
                  OTHERS          = 2.
      REFRESH OBJBIN. CLEAR OBJBIN.
      IF GV_SUMMARY <> 'X'.
        OBJBIN[] = CONTENT_OUT[].
      ELSE.
        REFRESH CONTENT_OUT.
        CLEAR CONTENT_OUT.
      ENDIF.
      REFRESH: CONTENT_IN, OBJPACK.
      CLEAR: CONTENT_IN, OBJPACK.
      DOC_CHNG-OBJ_NAME = TEXT-003.
      IF SY-SYSID NE 'S4P'.
       IF DOC_CHNG-OBJ_DESCR IS  INITIAL.
          DOC_CHNG-OBJ_DESCR = TEXT-004.
        ELSE.
          IF GV_SUMMARY = 'X'.
           DOC_CHNG-OBJ_DESCR = TEXT-012.
          ENDIF.
        ENDIF.
      ENDIF.
      DESCRIBE TABLE OBJTXT LINES TAB_LINES.
      READ TABLE OBJTXT INDEX TAB_LINES.
      DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    * Fill the fields of the packing_list for the main document:
        CLEAR  OBJPACK.
        DESCRIBE TABLE OBJBIN LINES TAB_LINES.
       OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM = 0.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM = TAB_LINES.
        OBJPACK-DOC_TYPE = 'XLS'.
        OBJPACK-OBJ_NAME = 'Attachment'.
        OBJPACK-OBJ_DESCR = C_PAYER.
        READ TABLE OBJBIN INDEX TAB_LINES.
        DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJBIN ).
        OBJPACK-DOC_SIZE = DOC_SIZE.
        APPEND OBJPACK.
        CLEAR  OBJPACK.
        DESCRIBE TABLE OBJBIN LINES TAB_LINES.
       OBJPACK-TRANSF_BIN = 'X'.
        OBJPACK-HEAD_START = 1.
        OBJPACK-HEAD_NUM = 0.
        OBJPACK-BODY_START = 1.
        OBJPACK-BODY_NUM = TAB_LINES.
        OBJPACK-DOC_TYPE = 'XLS'.
        OBJPACK-OBJ_NAME = 'Attachment'.
        OBJPACK-OBJ_DESCR = C_PAYER.
        READ TABLE OBJBIN INDEX TAB_LINES.
        DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJBIN ).
        OBJPACK-DOC_SIZE = DOC_SIZE.
        APPEND OBJPACK.
        REFRESH RECLIST.
        CLEAR RECLIST.
    ** get E-mail address
          IF NOT P_EMAIL IS INITIAL.
            RECIPIENT_INT-ADDRESS = P_EMAIL.
          ENDIF.
            RECLIST-RECEIVER = RECIPIENT_INT.
            RECLIST-REC_TYPE = 'U'.
            APPEND RECLIST.
    * SEND THE DOCUMENT BY CALLING THE SAPOFFICE API1 MODULE
    * FOR SENDING DOCUMENTS WITH ATTACHMENTS
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = DOC_CHNG
                PUT_IN_OUTBOX              = 'X'
           IMPORTING
                SENT_TO_ALL                = SENT_TO_ALL
           TABLES
                PACKING_LIST               = OBJPACK
                OBJECT_HEADER              = OBJHEAD
                CONTENTS_BIN               = OBJBIN
                CONTENTS_TXT               = OBJTXT
                RECEIVERS                  = RECLIST
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
               OTHERS                     = 99.
    Regards,
    Sailaja.

  • SAP PI7.31 : Mail with multiple attachments - how to process via UDF

    Hi
    wondering how I can approach this problem.   I have to read an Email with any number of attachments  - it can have between 1 and 4 or maybe more of different types (CSV,XLS,PDF,ZIP).  I need to read this email and extract the attachments to a folder.
    Just to let you know I have done this OK for an email that I know only has 2 attachments ! Works perfectly - just no good for ?n? attachments !
       Mail Sender has AF_Modules/MultipartHeaderBean to add payload Attributes
       The message is sent to 2 Receivers
       Each Receiver File adapter then uses AF_Modules/DynamicConfigurationBean and AF_Modules/PayloadSwapBean
    Problem is that when I do not know how many attachments there are.  So I will have to write a Java UDF mapping, perhaps using the classTransformationInput.
    My question is : To create a Java UDF what should be structure of a sent Email message Type look like so I can feed that into a UDF to check what payload attachments there are etc ?.

    As long as you use java mapping, you can have any dummy structures for your interfaces.
    But, if you prefer to use graphical mapping with UDF, then you should have some valid structures for your mail and file interfaces. e.g., mail pack XSD for mail interface as metioned by Indrajit Sarkar
    and again the same structure for the file interface as well so that you can have one to one mapping an then make use of UDF code from the article. Use payload swap bean in the receiver file channel to replace xml payload with Zipped attachments and then finally use script to unzip this zip file.
    Rgds,
    Praveen Gujjeti

  • Syncing Mail with Word attachments without the internet?

    Is there a way to sync email with Word doc. attachments with a desktop, via a usb cable, without the desktop having an internet connection?
    The setup is an iphone that syncs mail with a work computer that is internet connected. At home there is no internet accept Edge; i.e. iPhone gets internet but the desktop does not. I would like to use the iphone to move Word docs from emails back and forth to the desktop. I.e. someone emails me with a word doc attachment, (ii) Can I then sync (download) the attachment onto my home computer via a USB cable, edit the document? and then (iii) sync (upload) the edited word document back to the iPhone (which will then sync with my work computer via the Edge connection.
    Thanks in advance!
    Message was edited by: Tooschaye

    Hey Tooschaye,
    iTunes will sync the email account settings to the iPhone, it does not sync the actual emails or attachments.
    You should be able to find a few applications on the App Store which will let you store files on your iPhone. Then you can transfer the files to your desktop. I believe most of these apps require the devices be on the same Wi-Fi network.
    -Jason

  • Deal with mails with / without attachments

    My codes actually can save the image attachment of emails from email server. But, one problem I have is the codes don't work for mails with no attachment. How can solve this? I have added the structure of how I coded it. I am not sure if I can modify the 2nd part of the codes such that mails without attachment can work too. Pls advise. thank.
    My code pattern is like this:
    1st part : Connection.
    2nd part:
    if (contentType.startswith("image/")){
    //get the image and save to folder and insert path to image table of database
    if (contentType.startswith("text/plain")){
    // insert image id and text to another table of database
    3rd part: Delete email.

    I don' have the demo folder currently. Any sample code that can be posted here?
    I tried
    if(disposition == null){
    //do this for emails with no attachment
    else if (disp.equalsIgnoreCase(Part.ATTACHMENT)){
    //do this with attachments
    else{
    out.println("invalid");
    But it still can't work. The (disp == null) seems to pass in all values for both emails with attachments or no attachments....Why??

  • Sent Mail with Large Attachments

    Hello everyone,
    I've noticed that emails I send from Mail on my Mac (which have larger attachments) don't go into my Sent folder.
    There is no record of them being sent. However, I know they've been sent because I get replies to them.
    Emails with no attachments or small attachments go into the Sent folder fine though.
    Does anyone know how to fix this?
    Thanks a lot....

    meganano wrote:
    Yep. It's perfectly legit to not want to save copies of photos, audio files or contracts that I have on my computer when only a record is needed.
    So far, this is the most elegant solution I've found. http://www.betalogue.com/2012/11/13/lionmail-removeattachmentsfix/
    Fie on you, Apple!
    @meganano:
    Fie?  They probably won't understand . . . but, thanks for posting that link, seems easy enough to do . . . .  I'll check it out in a few days . . . working on getting another usually buggy linux system running on my MBPro . . . it's a better approach than saying "Fie" . . . .  : - )
    e.e.p.

  • Auto-delete mails with ZIP attachments?

    Unfortunately, I have to do business with Windows users whose machines seem to be infested with viruses that harvest email addresses. As a result, I am engulfed daily with mail that contains Windows virus attachments (ZIP files) and spam with GIF attachments. And I'm tired of it. Reporting the senders to their ISPs is an exercise in futility.
    Since the only legitimate attachments I receive from clients are always, and without exception, Stuffit SIT or SITX files, is there any way to set up a rule in Mail that will delete emails with ZIP or GIF attachments but allow those with SIT/SITX files through?
    There doesn't seem to be a way to add "Attachment" to the list of headers in Rules. In view of the fact that the most common vector for viruses is via email attachments, this seems to be a major oversight on Apple's part.
    Any hints on dealing with this?
    Kind regards.

    Dave,
    sorry for being late but I just saw your message now...
    In 10.3.x, there indeed is no way to filter based on attachment names (this is a new feature present in 10.4.x). However, you should be able to mark all those messages as spam and filter them to your junk mailbox using Junk Matcher:
    http://junkmatcher.sourceforge.net/
    Andreas

  • Rule to delete all mail with ZIP attachments?

    Unfortunately, I have to do business with Windows users whose machines seem to be infested with viruses that harvest email addresses. As a result, I am engulfed daily with mail that contains Windows virus attachments (ZIP files) and spam with GIF attachments. And I'm tired of it. Reporting the senders to their ISPs is an exercise in futility.
    Since the only legitimate attachments I receive from clients are always, and without exception, Stuffit SIT or SITX files, is there any way to set up a rule in Mail that will delete emails with ZIP or GIF attachments but allow those with SIT/SITX files through?
    There doesn't seem to be a way to add "Attachment" to the list of headers in Rules. In view of the fact that the most common vector for viruses is via email attachments, this seems to be a major oversight on Apple's part.
    Any hints on dealing with this ****?
    Kind regards.
    Message was edited by: Dave Bourke. I'm sorry, when did the common word for Hades become forbidden? John Milton is on the banned list now? What is happening to the world?

    Many thanks for your very helpful response, Mikkel.
    However, when I expand the headers on any mail that contains an attachment, there is no header named "Attachment," just a paperclip symbol with an expand arrow.
    So if I go to create a Rule, first of all there is no "Attachment" header in the Conditions list, and second it is unclear how to enter such a symbol-based header in the "Edit Header List..." dialog. Do I simply type the word "Attachment" into the dialog as a header even though it never actually appears in any emails with attachments?
    Still mystified...
    Kind regards.

  • Mail with 6MB attachments created a 69 MB Monster, up and down, no end!

    Yesterday I sent a mail with about 6 MB of data, I couldn't wait until mail did its usual play with stupid upload to .Mac, upload to draft, re-download to drafts again, re-download to sent messages and so on. Today mail does nothing but trouble, everytime I start mail it wants endlessly to down- and upload a monster of a 69 MB file that I've never created and there is nothing to see, wheter to delete nor to refuse. Activity shows only that nothing goes forward and this task blocks anything else, I can't recieve mails, I can't send mails this way. This issue let go down anything with mail on my iMac! What can I do???

    Couldn't wait means I couldn't wait until it finishes this endless story!
    After a week of absence there is still the same problem. Ever and ever again it copies a 69 MB Monster to my drafts folder, I waited up to 5 of the same mail listed in the drafts folder and there was still no end. Deleting the files from drafts doesn't do anything, it shows "copy mail" in the activity window and there is no hope to end that task in hours! Then, after a while there is a timeout with .Mac.
    H O R R I B L E ! ! !

  • Send mail with 2 attachments

    Hi all,
    I need to send an email with 2 attachments: 1 is a sapscript converted into PDF, and the other one is an Excel sheet.
    Is it possible?
    I think I almost have it, with function SO_NEW_DOCUMENT_ATT_SEND_API1, and table field pack_list-head_start, but I can see the PDF and not the Excel.
    Thanks in advance,
    Rafael Llabré

    This is possible, however for every attachment you need for example a new pack list. So the thing you do for ONE attachment has to be repeated for every new attachment.
    have a look at this thread:
    https://forums.sdn.sap.com/click.jspa?searchID=10795451&messageID=4850757
    Edited by: Micky Oestreich on Apr 16, 2008 10:03 AM

  • Sending mails with binary attachments

    Hi!
    I've to implement a routine for sending an email with attachments.
    These attachments can be PDF- or HTML-Files. Sometimes the last of the PDF-Attachments could not be opened when receiving the mail (it can't be open in the SOST as well).
    My coding is:
          loop at lt_doks.
            select single * from toadv where ar_object eq lt_doks-ar_object.
            call function 'ARCHIVOBJECT_GET_TABLE'
              exporting
                archiv_id                = lt_doks-archiv_id
                document_type            = toadv-doc_type
                archiv_doc_id            = lt_doks-arc_doc_id
              importing
                length                   = l_length
              tables
                archivobject             = l_image_tab
              exceptions
                error_archiv             = 1
                error_communicationtable = 2
                error_kernel             = 3
                others                   = 4.
            clear objpack.
            perform convert_document tables l_image_tab
                                            objbin
                                     using tab_lines_new
                                           i_pernr
                                           i_reinr
                                           l_subrc.
            if l_subrc ne 0.
              raise convert_error.
            endif.
            objpack-transf_bin = 'X'.
            objpack-head_start = 3.
            objpack-head_num = 0.
            objpack-body_start = tab_lines + 1.
            objpack-body_num = tab_lines_new.
            objpack-doc_type = toadv-doc_type.
            objpack-obj_name = 'Attachment'.
            objpack-obj_descr = lt_doks-objecttext.
            objpack-doc_size = tab_lines_new * 255."l_length.
            append objpack.
            tab_lines = tab_lines + tab_lines_new.
            clear tab_lines_new.
          endloop.
        endif.
      endif.
      if not document_data-obj_descr is initial.
    jetzt wird's ernst -> Mail versenden
        call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          exporting
            document_data              = document_data
            put_in_outbox              = ' '
            commit_work                = 'X'
          tables
            packing_list               = objpack
            contents_txt               = daten
            contents_bin               = objbin
            receivers                  = 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.
      endif.
    form convert_document tables p_image_tab structure docs
                                 p_objbin structure solisti1
                          using  p_lines
                                 p_pernr
                                 p_reinr
                                 p_subrc.
      data: l_filename like filename-fileextern.
      clear p_lines.
      call function 'FILE_GET_NAME'
        exporting
          client           = sy-mandt
          logical_filename = 'Z_HRTV_CONVERT'
          operating_system = sy-opsys
          parameter_1      = p_pernr
          parameter_2      = p_reinr
        importing
          file_name        = l_filename
        exceptions
          file_not_found   = 1
          others           = 2.
      if sy-subrc ne 0.
        p_subrc = sy-subrc.
        exit.
      endif.
    Schreiben der Datei
      open dataset l_filename for output in binary mode.
      loop at p_image_tab.
        transfer p_image_tab to l_filename.
      endloop.
      close dataset l_filename.
      refresh p_image_tab.
      clear p_image_tab.
    Lesen der Datei
      open dataset l_filename for input in binary mode.
      do.
        read dataset l_filename into p_objbin.
        if sy-subrc <> 0.
          if not p_objbin is initial.
            append p_objbin.
            clear p_objbin.
            add 1 to p_lines.
          endif.
          exit.
        endif.
        append p_objbin.
        clear p_objbin.
        add 1 to p_lines.
      enddo.
      close dataset l_filename.
    Löschen der Datei
      delete dataset l_filename.
    endform.                    " convert_document
    Can anybody give me hint?
    Thanks a lot!
    Peter

    Hi,
    Whether your objpack-doc_type is coming correctly for the last PDF attachment?
    Thanks
    aRs

  • Howto send a mail with 2 attachments

    hi experts,
    i have to realise the following scenario:
    - a customer sends us invoice-data via webservice
    - sap-pi has to copy the payload
    - sap-pi adds some default-values the new payload
    - at the end i have to send an email with the original payload and the modified payload
      (every payload as a separate attached file)
    is this possible??
    could anyone describe me the steps i have to do?
    thx in advance,
    dieter

    thx for your answer - we solved our problem with a bean that we implemented in the communications channel of the sender.
    our next problem is that we want to rename the attachments. we made the following settings in the communications channel of the receiver:
    1     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     1
    2     localejbs/AF_Modules/PayloadSwapBean     Local Enterprise Bean     swap
    3     localejbs/AF_Modules/MessageTransformBean     Local Enterprise Bean     2
    4     sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean     Local Enterprise Bean     mail
    1     Transform.ContentDescription     untitled.xml
    1     Transform.ContentDisposition     attachment;filename="original.xml"
    1     Transform.ContentType     text/xml;name="original.xml"
    swap     swap.KeyName     payload-name
    swap     swap.KeyValue     attachment-1
    2     Transform.ContentDescription     invoice
    2     Transform.ContentDisposition     attachment;name="invoice.xml"
    2     Transform.ContentType     text/xml;name="invoice.xml"
    the message looks like this:
    <SAP:Manifest xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <SAP:Payload xlink:href="cid:original-ID.xml">
      <SAP:Name>attachment-1</SAP:Name>
      <SAP:Description>attachment</SAP:Description>
      <SAP:Type>ApplicationAttachment</SAP:Type>
      </SAP:Payload>
    - <SAP:Payload xlink:href="cid:payload-8687af70bfd611dfb3f700e000c5720c<at>sap.com">
      <SAP:Name>MainDocument</SAP:Name>
      <SAP:Description>Main XML document</SAP:Description>
      <SAP:Type>Application</SAP:Type>
      </SAP:Payload>
      </SAP:Manifest>
    in our mail, the payload maindocument is an attachment with the name "invoice.xml" -> this works
    but the second attachment in the mail is named "untitled.xml" and it's not possible for us to rename this attachment to "original.xml"
    any ideas???
    thx in advance

  • Audio has ceased when at Amazon and with e-mails with audio attachments. This only during last few days previously O.K. Windows Media Player still working so no problem with speakers only happens with online audio. John

    Operating system Windows 7. A few days ago no problems with audio, clear sound when listening to e-mail audio attachments and Amazon music samplers. During last 2/3 days both attachments and samplers fail to work, but when playing music from library held in Windows Media Player no problems. This would appear to show no problem with speakers etc and I have not knowingly amended any audio controls.

    Thank you so much for replying.
    Yes I have removed and reinstalled WMP.
    I had good results with the PD6 application installed on the default path onto the C: drive with the one exception that if the application was launched by accident and the user data path was not available, the PD6 application would blow away my custom user path registry settings. Now that I know what they are I have made a .reg file to repair my registry to my desired user data paths.
    Installing the application on the removable drive appeared to help prevent me from launching the application by accident and overwriting my registry with default user paths.
    So which is the less of the two evils?
    If the application directory is not available, windows media player still tries to launch the .msi for installing PD6.
    If I install the application to the C: drive but the user data to the removable drive, launching the PD6 application without the user data drive will still corrupt my registry settings for a user data path.
    Both these issues seem like a logical (if not easy) fix that should be done in the PD6 application and installation package. I mean really, cannot anyone tell me why windows media player is checking the PD6 application directory? Why in PD4 did we have an option control for setting the user data path from the PD4 application? Why is this option not in the PD6 application, just the installer?
    I am given a choice during installation to move the user data to another non default location. Why else would this be provided if not to accommodate my kind of request to store the user data into an alternate location other than “My Document”. Certainly Palm is not trying to force the users on how to protect and store their personal data?
    Post relates to: Centro (Verizon)

Maybe you are looking for