After 3.1 Email Attachment Unreadable

After installing 3.1 some of my attachments that came in by email are now unreadable. They now are mime attachment. Before they are just readable. Typically these are attachments of letters. What happened?
Thanks
Rick

What filename-extensions are on your attachments and are they supported by the iPhone? (Check the user-guide for supported file-types) 'Mime' looks like a general compression of 'something else/anything at all', but 'Mime' doesn't look like it's supported 'as is'.

Similar Messages

  • TB stopped receiving emails after one with huge attachment. Updated TB. Can send but not receive. Using Yahoo POP server. Browser access works fine.

    Several days ago, after receiving a 7MB attachment, I stopped receiving email on my Yahoo POP account. Browser access to the Yahoo server works fine. I obviously deleted that message and attachment but curiously, it and only it continued to be downloaded to my inbox!!! I tried downloading a new TB and installing it. Nothing changed except that specific email no longer appeared (another did though, see later). Settings are to leave msgs on server until I delete them. I transferred all my inbox to a local folder and then compacted mail and tried testing reception from another source and nothing appeared on TB, just on browser access. Oddly, one very old message repeatedly appears, I assume as a result of the auto check for new mail but not sure. Though I try to delete this old message, I can't. I haven't removed and recreated account yet because I don't want to lose all the filter history. Scanned for solution and can't find any. Any ideas, please?

    Starting your mac in safe mode will disable the Symantec stuff long enough to download mail. Should the issue arise again
    [http://support.apple.com/kb/ht1564 OSX Safe mode instructions from Apple]

  • After saved to computer, Adobe Reader could not open 'filename.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    After saved to computer, Adobe Reader could not open 'filename.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded).

    What is your operating system?  Reader version?
    Saved from where?  What is the file size of the saved document?

  • After upgrade I cannot attach files to emails in mobileme.

    upgraded to 7.0.1 and now I can't attach files to emails using mobileme.
    I changed to Internet explorer and it works.

    i have the same problem on a Mac after upgrading Firefox, no errors, just nothing is happening after clicking on the attachment button. I can add the attachment by drag and drop, but then the receiver tells me he or she received my message with a big red cross through the attachment.

  • TS4208 Apple Mail client no longer marks my mail as read on all my iOS devices. If I read a email on my iPhone and later open Mail on my iPad, the iPad still shows the email as unread.This changed recently, perhaps after iOS7 upgrade. Did I miss a setting

    Apple Mail client no longer marks my mail as read on all my iOS devices. If I read a email on my iPhone and later open Mail on my iPad, the iPad still shows the email as unread.This changed recently, perhaps after iOS7 upgrade. Did I miss a setting? All mail account are IMA. iCloud is set to push, business mail is set to fetch every 15 minutes.

    Read thier own support document on the subject then
    http://support.apple.com/kb/TS1795
    This document was written as an answer to all those who complained about it as paying MobileMe users
    They ignored us then and when MobileMe became iCloud they ignored us again, and just carried on with a system that will not update the e-mail read status across all devices
    That's how it works,   and like you 1000's of loyal Apple users cant believe it either but there you go

  • Issue with excel email attachment after upgrade

    Hi ,
    We have recently upgraded from ECC 5.0 non-unicode to ECC 6.0 unicode version.
    An existing program converts the data in an internal table into HTML code and then sends this as an email attachment(XLS format) using the FM SO_NEW_DOCUMENT_ATT_SEND_API1.
    Now if the mail attachment is sent from the non-unicode system , excel converts the HTML code and shows the data perfectly but when i open the mail attachment from the unicode system, the HTML code sits in a cell of the excel and therefore data is not visible.If i wish to see the data, i will have to cut the data from the cell and paste it .
    I anticipate that this is because of some issue with the unicode.
    Your inputs towards the issue resolution are highly appreciated.
    Thanks,
    Avanish Joshi

    I found the note 1151258 and as mentioned in it, i used the BCS class for sending excel attachments and it worked.
    My sincere apologies for not replying to those who posted queries to this question.
    Thanks.

  • Email attachment name in sender mail adapter to the receiver file adapter

    HI ,
    Ths is regarding email to file scenario. I am trying to create file (in rceiver file adapter) with the same name as the email attachment that i read from mail sender adapter. I want ro use adapter module for this. I could find from blogs that there is module - GetAttachmentName - available that i can use for this in sender mail adapter.
    Can you please let me know what whetehr i neeed to mention any module key and parameters for this.
    I assume , i need to do following steps :Please confirm.
    1. i can use this module - after payload swap module and before standard mail adapter module in sender mail adapter
    2. select ASMA option in advanced tab in sender mail adapter
    3. In receiver file adapter select ASMA option in advanced tab in sender mail adapter
    4. Also select file name option in ASMA in sender mail adapter
    Thanks,
    Vamsi

    Hi Vamsi,
    your scenario is also described here: Re: sender mail adapter - attachment name
    If you use the Module getAttachmentName, which is described here,
    http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName
    your scenario should work as you described it.
    You just need to make sure that the Attachment Name that you read in the first place, is mapped to the Filename Attribute of the
    Fileadapter (http://sap.com/xi/XI/System/File/FileName).
    regards,
    Daniel

  • Report output getting truncated in email attachment

    Hello Gurus,
    My requirement is to send a report output as an email attachment.
    I have done the coding for this but have a small problem. In the attachment the report is getting truncated after certain length.
    Can you advise wats the problem ?
    Regards,
    Suhas

    Hello Guys,
    I too was contemplating on those lines. But actually i was calculating the File Size incorrectly.
    Changed the code & now it working !!!!!!!
    BR,
    Suhas

  • How to convert sap script to pdf and send it as email attachment

    hi,
    my requirement is to convert a standard sales order form to pdf and send it as email attachment. get me some sample code for the same
    thanks in advance

    Hi
    See this sample code and after that use the fun module to send the mail
    SO_NEW_DOCUMENT_ATT_SEND_API1
    REPORT zzz_jaytest .
    Types Declaration
    TYPES : BEGIN OF ty_pa0001,
    pernr TYPE pa0001-pernr,
    bukrs TYPE pa0001-bukrs,
    werks TYPE pa0001-werks,
    END OF ty_pa0001.
    Internal Table Declaration
    DATA : i_pa0001 TYPE STANDARD TABLE OF ty_pa0001, "For pa0001 Details
    i_otf TYPE STANDARD TABLE OF itcoo, "For OTF data
    i_content_txt TYPE soli_tab, "Content
    i_content_bin TYPE solix_tab, "Content
    i_objhead TYPE soli_tab,
    Work Area Declaration
    w_pa0001 TYPE ty_pa0001, "For pa0001 Details
    w_res TYPE itcpp, "SAPscript output
    "parameters
    w_otf TYPE itcoo, "For OTF
    w_pdf TYPE solisti1, "For PDF
    w_transfer_bin TYPE sx_boolean, "Content
    w_options TYPE itcpo, "SAPscript output
    "interface
    Variable Declaration
    v_len_in TYPE so_obj_len,
    v_size TYPE i.
    Constants Declaration
    CONSTANTS : c_x TYPE c VALUE 'X', "X
    c_locl(4) TYPE c VALUE 'LOCL', "Local Printer
    c_otf TYPE sx_format VALUE 'OTF', "OTF
    c_pdf TYPE sx_format VALUE 'PDF', "PDF
    c_printer TYPE sx_devtype VALUE 'PRINTER', "PRINTER
    c_bin TYPE char10 VALUE 'BIN', "BIN
    c_name TYPE string VALUE 'C:\ZZZ_JAYTEST.PDF',"Downloading
    "File Name
    c_form(11) TYPE c VALUE 'ZZZ_JAYTEST'. "Form Name
    START-OF-SELECTION.
    Selecting the records from pa0001
    SELECT pernr bukrs werks FROM pa0001
    INTO TABLE i_pa0001 UP TO 10 ROWS.
    Setting the options
    w_options-tdcopies = 1 ."Number of copies
    w_options-tdnoprev = c_x."No print preview
    w_options-tdgetotf = c_x."Return of OTF table
    w_options-tddest = c_locl."Spool: Output device
    Opening the form
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    form = c_form
    device = c_printer
    language = sy-langu
    OPTIONS = w_options
    IMPORTING
    RESULT = w_res.
    LOOP AT i_pa0001 INTO w_pa0001.
    Writting into the form
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'MAIN'
    window = 'MAIN'.
    ENDLOOP.
    Closing the form
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT = w_res
    TABLES
    otfdata = i_otf
    EXCEPTIONS
    unopened = 1
    bad_pageformat_for_print = 2
    send_error = 3
    spool_error = 4
    codepage = 5
    OTHERS = 6.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Converting OTF data to single line
    LOOP AT i_otf INTO w_otf.
    CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
    INTO w_pdf.
    APPEND w_pdf TO i_content_txt.
    ENDLOOP.
    Converting to PDF Format
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
    EXPORTING
    format_src = c_otf
    format_dst = c_pdf
    devtype = c_printer
    CHANGING
    transfer_bin = w_transfer_bin
    content_txt = i_content_txt
    content_bin = i_content_bin
    objhead = i_objhead
    len = v_len_in
    EXCEPTIONS
    err_conv_failed = 1
    OTHERS = 2.
    v_size = v_len_in.
    Downloading the PDF File
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    bin_filesize = v_size
    filename = c_name
    filetype = c_bin
    TABLES
    data_tab = i_content_bin.
    If you r using this function module check it once....
    call function 'CONVERT_OTF'
    EXPORTING
    format = 'PDF'
    max_linewidth = 132
    IMPORTING
    bin_filesize = v_len_in
    TABLES
    otf = i_otf
    lines = i_tline
    EXCEPTIONS
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    others = 4.
    Fehlerhandling
    if sy-subrc <> 0.
    endif.
    or u can use the standard program RSTXPDFT4 to download the script into PDF format onto a particular location
    follow this link for sample program.
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1121833,00.html
    check...
    How to send smart form via email
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp
    Regards
    Anji

  • Read Email Attachment Document and Save it in DMS

    Hi
    I  have developd a zFM for reading the email attachment and storing it in SAP.(CV01N)
    using the FM for SO_DOCUMENT_READ_API1(Read attachement)  CVAPI_DOC_CHECKIN(Save Document) FM for save it in SAP.
    After reading the attachemtn am getting Hexa decimal Values and i have convert into binary.
    But the output is showing can't open the file.
    How to solve this?
    CALL FUNCTION 'SO_DOCUMENT_READ_API1'
              EXPORTING
                document_id                = lv_doc_id
              IMPORTING
                document_data              = lw_doc_data
              TABLES
                object_content             = lt_objcontent
                contents_hex               = lt_contents_hex
              EXCEPTIONS
                document_id_not_exist      = 1
                operation_no_authorization = 2
                x_error                    = 3
                OTHERS                     = 4.
    Converteing Hexa decimal into srting by loop the internal table  lt_contents_hex.
    lv_raw concatenate hexa decimal values
              CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
                EXPORTING
                  buffer        = lv_raw
                IMPORTING
                  output_length = lv_length
                TABLES
                  binary_tab    = it_temp_binary.
         CALL FUNCTION 'CVAPI_DOC_CHECKIN' ......

    Hi,
    thank you.
    The DB-Version is 9.2.0.4.0
    This document does not help me...
    I need to create any procedure that inserts the nodes(tag-name) and when the node has any content then the content too in the table and s.o., so how I have it entered in the question...
    Any Idea?
    Regards

  • Send Email Attaching the Report generated in Program.

    Hi All,
    I am generating a report in list format with write statements.
    My requirement is to send an email attaching this report as an attachment.
    I wanted to know how to get the listobject of the report generated by my program from the memory. Can anyone guide me with this ?
    It will be appreciable , If any one can give me more information on sending mails attaching the reports  generated by the program.
    Thanks in advance,
    Mayank

    Hi,
    I think the problem is not clear.
    My problem is to get the listobject name which got generated after the program run.I want to attach this list report to the email. I have seen a code from one of the link.
    Here it is.
    List of Users According to Logon Date and Password Change
    NOTE: Create ALI/OTF Document in Spool
      SUBMIT rsusr200 WITH valid = 'X'
                      WITH notvalid = space
                      WITH unlocked = 'X'
                      WITH locked = space
                 EXPORTING LIST TO MEMORY AND RETURN.
    <b>* Read list from memory into table
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = lt_listobject
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc <> 0.
      Error in function module &1
        MESSAGE ID '61' TYPE 'E' NUMBER '731'
           WITH 'LIST_FROM_MEMORY'.
      ENDIF.</b>
    Because listobject is of size RAW(1000)
    and objbin is of size CHAR(255) we make this table copy
      CALL FUNCTION 'TABLE_COMPRESS'
        TABLES
          in             = lt_listobject
          out            = lt_objbin
        EXCEPTIONS
          compress_error = 1
          OTHERS         = 2.
      IF sy-subrc <> 0.
      Error in function module &1
        MESSAGE ID '61' TYPE 'E' NUMBER '731'
           WITH 'TABLE_COMPRESS'.
      ENDIF.
    Here the report is sumitted with the option of exporting the list in to the memory which is later read using 'LIST_FROM_MEMORY'.
    But here i need the same report's output to be captured and want to read the list generated from memory into table.
    How can i get the listobject of the list generated by the report in the same report program itself ??
    Please let me know.
    Mayank

  • How do I customize the Email Attachment name in Email Bursting?

    I had worked on BI Publisher extensively on 10g and 11g. I have a client requirement with BIP email bursting to deliver the reports as email attachments. I'm able to do it, and also customize mail body etc. However the email attachment file name is randomly generated with some numbers. I read through the docs, and couldn't find any parameter mapping to the attachment/file name (like we do it with File bursting). How do I specify the mail attachment file names in my Busrting properties?
    Thanks,
    Padma

    Please go through the following link:
    http://garethroberts.blogspot.com/2008/03/bi-publisher-ebs-bursting-101.html
    I think after the 'Output' we can specify the filename

  • Problem pdf email attachment

    Hi Friends,
    I need expertise help in pdf email attachment. I have data in internal table which has to be sent as pdf mail attachment. I need help in converting the data to pdf format. After conversion I can use SO_NEW_DOCUMENT_ATT_SEND_API1 to send the mail.
    Expect earliest reply.
    Thanks,
    Nidhya

    Dear Friends,
    Thanks for your reply, but I need help in converting the data in internal table to pdf.
    Pls find my code below: With this code, I get email send with PDF attach, but the data inside the file is not in correct format.
    Pls help me to correct.
    DATA : mailrec    LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
           mailbin    LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           mailbin1   LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           mailtxt    LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           mailhead   LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           i_otf      LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           i_pdf      LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           mailstruc  LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
           maildata   LIKE sodocchgi1 OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF i_sotf OCCURS 0.
           INCLUDE STRUCTURE itcoo.
    DATA : END OF i_sotf.
    DATA : i_itcpo LIKE itcpo,
           i_itcpp LIKE itcpp.
    DATA : v_tlines   TYPE i,
           v_len_in   LIKE  sood-objlen,
           v_len_out  LIKE sood-objlen.
    maildata-obj_name = 'Document'.
    maildata-obj_descr = 'Transfer Details'.
    maildata-obj_prio = 1.
    maildata-doc_size = strlen( mailtxt ).
    mailstruc-head_start = 1.
    mailstruc-head_num = 0.
    mailstruc-body_start = 1.
    mailstruc-body_num = 1.
    mailstruc-obj_name = 'transfer'.
    mailstruc-doc_type = 'RAW'.
    APPEND mailstruc.
    mailrec-receiver = '[email protected]'.
    mailrec-rec_type = 'U'.
    APPEND mailrec.
    CLEAR i_itcpo.
    i_itcpo-tdgetotf = 'X'.
    REFRESH mailbin.CLEAR mailbin.
    WRITE 'Report Title:' TO mailbin-line+3.
    WRITE sy-repid         TO mailbin-line+18.
    APPEND mailbin. CLEAR mailbin.
    WRITE  'User : ' TO mailbin-line.
    WRITE  sy-uname TO mailbin-line+11.
    APPEND mailbin. CLEAR mailbin.
    WRITE  'Date of Report : ' TO mailbin-line+3.
    WRITE sy-datum USING EDIT MASK mask MM/DD/YYYY TO mailbin-line+21.
    APPEND mailbin. CLEAR mailbin.
    WRITE  'Time of Report : ' TO mailbin-line+3.
    WRITE  sy-uzeit TO mailbin-line+21.
    APPEND mailbin. CLEAR mailbin.
    APPEND mailbin.
    WRITE  'Transfer ' to mailbin-line+3.
    APPEND mailbin. CLEAR mailbin.
    APPEND mailbin.
    WRITE  sy-uline TO mailbin-line+3.
    APPEND mailbin. CLEAR mailbin.
    LOOP AT i_disp.
    SHIFT i_disp-index LEFT DELETING LEADING '0'.
    WRITE i_disp-index TO mailbin+3.
    WRITE i_disp-pernr TO mailbin+6.
    WRITE i_disp-ename TO mailbin+16.
    WRITE i_disp-persk TO mailbin+57.
    WRITE i_disp-btrtl TO mailbin+60.
    APPEND mailbin. CLEAR mailbin.
    ENDLOOP.
    CALL FUNCTION 'SX_OBJECT_CONVERT_SCR_OTF'
      EXPORTING
        FORMAT_SRC            = 'RAW'
        FORMAT_DST            = 'OTF'
        DEVTYPE               = 'POSTSCPT'
        FUNCPARA              = ''
        LEN_IN                = v_len_in
    IMPORTING
       LEN_OUT               = v_len_out
      TABLES
        CONTENT_IN            = mailbin
        CONTENT_OUT           = mailbin1
    EXCEPTIONS
       ERR_CONV_FAILED       = 1
       OTHERS                = 2 .
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    REFRESH mailbin.
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
      EXPORTING
        FORMAT_SRC            = 'OTF'
        FORMAT_DST            = 'PDF'
        DEVTYPE               = 'POSTSCPT'
      FUNCPARA              =
        LEN_IN                = v_len_in
    IMPORTING
       LEN_OUT               = v_len_out
      TABLES
        CONTENT_IN            = mailbin1
        CONTENT_OUT           = mailbin
    EXCEPTIONS
       ERR_CONV_FAILED       = 1
       OTHERS                = 2 .
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    REFRESH mailbin1.
    DESCRIBE TABLE mailbin LINES v_tlines.
    mailstruc-head_start = 1.
    mailstruc-head_num = 0.
    mailstruc-body_start = 1.
    mailstruc-body_num = v_tlines.
    mailstruc-transf_bin = 'X'.
    mailstruc-doc_type = 'PDF'.
    mailstruc-obj_name = 'Mid-month transfer'.
    mailstruc-doc_size = v_tlines * 255.
    APPEND mailstruc.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA                    = maildata
       PUT_IN_OUTBOX                    = 'X'
      TABLES
        PACKING_LIST                     = mailstruc
       OBJECT_HEADER                    = mailhead
       CONTENTS_BIN                     = mailbin
        RECEIVERS                        = mailrec
    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 .
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    But i dont get the result in expected format. I am not getting first 2 characers of the line. instead of report, date, time in separate line I get everything in a single line as follows :
    Report Title: ZHRPY0003
    er : VACNIDHYA Date of Report : 02.05.2007 Time of Report
    : 10:31:27 Mid-month Inter-Company Transfer
    --- 1 00002609 Carla Pineda FT
    2010
    - 1 -

  • Issue facing background email attachment.

    Actually I have a problem when I tried to send an email to user from program. This is urgent one. Can I have any suggestions or solutions for this problem from you guys? plz . I welcome to get it as soon as possible. Also I tried to explain as better as I am. If you have any questions or I am not clear , I will explain you for your questions.
    Let me explain the problem fully.
    1) I need to create a selection screen field  for user to enter the email id. - This is done
    2)If the user enter the email id and execute the report then I have to email the current output of the report to entered( from selection screen) email id as a text. - This is done
    3) Now the user needs the some choice to see the output in email. So he wants to add a check box in selection screen just below the "Email id" field in selection screen. So If the user enter the email id and execute the report without choosing the check box then he would able to see the report's output in the email as text.  otherwise the user tick the check box and enter the email id and execute the report then we need to send the report's output as a attachment in the email. So when the person( selection screen email id's owner) opens his email he would like to see the attachemnt then If he opens the attachement he would see the report's output now.
    This is the purpose the user needs the check box.  - This is done
    4) I use FM 'SO_NEW_DOCUMENT_ ATT_SEND_ API1'  to send the email as a text to selection screen's email id.  - This is done
    5) Also  I use FM 'SO_NEW_DOCUMENT_ ATT_SEND_ API1'  to send the email as a attachment to selection screen's email id. - This is done
    6) If the user wants to run this in background and send the email to selection screen's email id(without attachment), then I have to send the report's output to email id as a text. - This is done
    7) If the user wants to run this in background and send the email to selection screen's email id(with attachment), then I have to send the report's output to email id as a attachment. - This is not done still. This is partially done. I can able to see the attachment . But If I open the attachment I am seeing only last page of the report's output. I didn't see any other previous pages. If it only one page report then it is ok. But my requirement is more than one page. So I need to send  all pages to email as a attachment. I tried it many way. But I could not able to find the solution yet. But If I execute the report in foreground for attachment then I would able to see all the pages in attachment. But I have only problem in BACKGROUND.
    I added 2 attachments here. 1) the codes which send the email to email id as a text. 2) the codes which send the email to email id as a attachment.
    After look at the below attachment codes plz read this following line.
    Also when I used to send the email as a attachment, I used the "SAVE_LIST" FM to catch the current list from memory and compress it through the FM "COMPRESSED_ LIST" and send these internal table records to the EMAIL FM "'SO_NEW_DOCUMENT_ ATT_SEND_ API1". I have read the "SAVE_LIST" FMs documentation too. I have seen that this is not suitable for background emailing. So I think I need any other FMs used here instead of this particular FM or else I would expect any other solutions for this problem.
    1) *
      DATA: DOC_DATA     LIKE SODOCCHGI1,
            RECEIVERS    LIKE SOMLRECI1  OCCURS 0 WITH HEADER LINE,
            PACK  LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
            TXT   LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
            CNT          TYPE I,
          TEXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,  
            TAB_LINES    LIKE SY-TABIX.
    Add all email id's from selection screen in the mailing list one by
    one
      LOOP AT M_EMAIL.
        RECEIVERS-RECEIVER = M_EMAIL-LOW.
        RECEIVERS-REC_TYPE = 'U'.
        APPEND RECEIVERS.
        CLEAR RECEIVERS.
      ENDLOOP.
    there is no entry in the input then don't call the FM
      CHECK NOT RECEIVERS[] IS INITIAL.
      DO.
        CNT = SY-INDEX.
        READ LINE SY-INDEX.
        IF SY-SUBRC <> 0.  EXIT.  ENDIF.
        TEXT-LINE = SY-LISEL.
        APPEND TEXT.
        IF CNT > 5500.
          REFRESH TEXT.
          CLEAR TEXT.
          TEXT-LINE = 'Report too large for SAP.'.
          APPEND TEXT.
          EXIT.
        ENDIF.
      ENDDO.
      DOC_DATA-OBJ_DESCR = 'Report as a text'.
      DESCRIBE TABLE TEXT LINES TAB_LINES.
      DOC_DATA-DOC_SIZE = TAB_LINES * 255.
    Creation of the entry for the compressed document
      CLEAR PACK-TRANSF_BIN.
      PACK-HEAD_START = 1.
      PACK-HEAD_NUM = 0.
      PACK-BODY_START = 1.
      PACK-BODY_NUM = TAB_LINES.
      PACK-DOC_TYPE = 'RAW'.
      APPEND OBJPACK.
      CLEAR OBJPACK.
    object for showing the report's text
      OBJTXT = ' Report as a text'.
      APPEND TXT.
      CLEAR TXT.
    New FM to mail the user & directly to email id
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          DOCUMENT_DATA = DOC_DATA
          PUT_IN_OUTBOX = 'X'
          COMMIT_WORK   = 'X'
        TABLES
          PACKING_LIST  = PACK
          OBJECT_HEADER = TXT
          CONTENTS_TXT  = TEXT
          RECEIVERS     = RECEIVERS.
      COMMIT WORK.
    2)
    Structures for recipient addresses
    Structures and internal tables for the send data
      DATA: pack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
      DATA: head LIKE solisti1 OCCURS 1 WITH HEADER LINE.
      DATA: bin LIKE solisti1 OCCURS 0 WITH HEADER LINE.
      DATA: txt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
      DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
      DATA: doc_chng LIKE sodocchgi1.
      DATA: tab_lines LIKE sy-tabix.
      DATA: user_address LIKE sousradri1 OCCURS 1 WITH HEADER LINE.
      DATA: sent_to_all LIKE sonv-flag.
    clear listobject[].
    clear compress_list[].
      CALL FUNCTION 'SAVE_LIST'
           EXPORTING
                list_index         = sy-lsind
           TABLES
                listobject         = listobject
           EXCEPTIONS
                list_index_invalid = 1.
      IF sy-subrc = 1.
        WRITE: 'Error in save_list.'.
      ENDIF.
    It's always necessary to compress the list
      CALL FUNCTION 'TABLE_COMPRESS'
           TABLES
                in             = listobject
                out            = compress_list
           EXCEPTIONS
                compress_error = 1
                OTHERS         = 2.
      IF sy-subrc <> 0.
        WRITE: 'Error in table_compress.'.
      ENDIF.
    *move list to office table objbin
      MOVE compress_list[] TO bin[].
    Create the document which is to be sent
      doc_chng-obj_name = 'List'.
      doc_chng-obj_descr = 'Report list'.
      DESCRIBE TABLE txt LINES tab_lines.
      READ TABLE txt INDEX tab_lines.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( txt ).
    Fill the fields of the packing_list for the main document:
      CLEAR pack-transf_bin.
      pack-head_start = 1.
      pack-head_num = 0.
      pack-body_start = 1.
      pack-body_num = tab_lines.
      pack-doc_type = 'TXT'.
      APPEND pack.
    Create the attachment (the list itself)
      DESCRIBE TABLE bin LINES tab_lines.
    It is binary document
      MOVE compressed_list[] to bin[].
      pack-transf_bin = 'X'.
      pack-head_start = 1.
      pack-head_num = 0.
      pack-body_start = 1.
      pack-body_num = tab_lines.
      pack-doc_type = 'ALI'
      pack-obj_name = 'Attachment'.
      pack-obj_descr = 'Report for email attachment'.
      pack-doc_size = tab_lines * 255.
      APPEND pack.
    Add all email id's in the mailing list one by one
      LOOP AT M_EMAIL.
        RECLIST-RECEIVER = M_EMAIL-LOW.
        RECLIST-REC_TYPE = 'U'.
        APPEND RECLIST.
        CLEAR RECLIST.
      ENDLOOP.
      CHECK sy-subrc = 0.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = doc_chng
                put_in_outbox              = 'X'
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = sent_to_all
           TABLES
                packing_list               = pack
                object_header              = head
                contents_bin               = bin
                contents_txt               = txt
                receivers                  = reclist
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                operation_no_authorization = 4
                OTHERS                     = 99.

    Hi,
    If you are running thru background change the code like this way
      submit yXXXXXXXX exporting list to memory
               with p_docno = xdocno
               and return.
      call function 'LIST_FROM_MEMORY'
        tables
          listobject = report_list
        exceptions
          not_found  = 1
          others     = 2.
      loop at report_list.
        move report_;list to objtxt.
        append objtxt.
      endloop.
      objpack-doc_type = 'TXT'.
      describe table objtxt lines tab_lines.
      objpack-body_start = v_lines.
      objpack-body_num  = tab_lines.
      objpack-doc_size  = tab_lines * 255.
      objpack-obj_descr = w_docno_temp.
      append objpack.
      clear  objpack.
      doc_chng-obj_name  = w_docno.
      doc_chng-obj_descr = w_subject.
      reclist-receiver = to_smtp_addr.
      reclist-rec_type = 'U'.
      reclist-express  = 'X'.
      append reclist.
    aRs

  • Inability to open an docx file sent as an email attachment

    After receiving an email with a docx file attachment, I was unable to open it. The error message says, Adobe Reader cannot open ....docx either because it is not a supported file type or the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). This is a very important document and more may follow soon. Should I uninstall Adobe Reader, then try to open the document ansd save it to the computer before reinstalling Adobe?

    If it isn't found in Word, you must be doing File > Open wrong.
    I'm not asking you to choose it from the list of recent files, but to choose OPEN, then find the folder with the file in it, and select the file. If the file isn't shown, then it isn't a DOCX file at all.
    When I write File > Open, in Word this means Choose the Open command from the File tab menu . The File Open dialog box is then shown.

Maybe you are looking for