Mail 4.5 corrupts PDF attachments from gmail (while outlook 2011 doesnt)

I have a gmail account with scanned documents.
I add this account to in Mail and then some of the PDFs are damaged and can not be corrected. The interesting matter is that via web-access and Outlook 2011 there is not a problem.
I have tried many different solutions I could find on the web incl. here. From deleting the mailboxes to deleting the cache-files. Ultimately I deleted the whole mail app (incl. lib files with CleanMyMac), reinstalling and reinstalling the combo.
After adding the account the last time, I minimized the window, till all activity was finished and everything cashed etc.
I opened mail and again the same problem.
Additional remarks: There are many attachments with the same name, because they were send by a HP Office machine. Some have a problem most don't I would estimate the problem is in 10% of the mails.
Again via Web-access and Outlook 2011 all attachments are correct.
I could use Outlook, their calendar doesn't sync with gmail and I also don't like how outlook is handling (and messing-up) my v.cards .
Any help would be highly appreciated.

Ernie Stamper wrote:
The IMAP setting to Keep copies of messages and their attachments has little impact unless not connected to the internet and wanting to work Offline. If connected to the internet, and you click on a message, it will be downloaded, even if not already so by virtue of this setting. If not selected to Keep copies . . . and attachments, then you will be subject to the goodness of the internet connection at that moment. I am only partially keeping abreast of your investigations, but it may be that transmission is muddled at certain times?
I didn't actually try reading the messages without an internet connection. When I had the account in the default "message+attachment" option, the attachments tended to stay on the server. When I switched to "message, no attachment", the attachments were always downloaded. That sure sounds like the opposite of what I would have expected. I've never used the "message, no attachment" setting so that is new to me.
But I may be missing a step in the sequence of things you have found out. Do you have any reason to think that in the message cache created by selecting Keep copies . . . something could be altering files?
I know that if the Mailbox index gets corrupted, it can cause attachments to be lost - at least temporarily. When I do testing with a local mail server, sometimes the timing is off (too fast maybe) and the message is almost always corrupted. Rebuilding the mailbox fixes it.
My initial theory was that the HP devices were spitting out bad MIME messages and that gmail was fixing them. Now I think that gmail IMAP just flakes out every so often with these big files. There could be other explanations too. The PDF was just truncated. I don't think a bug in Apple Mail is a likely possibility.

Similar Messages

  • Send attachments from finder via Outlook 2011 for Mac

    I am trying to right click attachments in finder and choose send by mail. Unfortunately only mac mail comes up and I need to use outlook 2011. Its installed and chosen as default in both outlook settings and mail settings.
    Can drag attachments to outlook icon but would be easy to have right click option.
    Auto optimize size of attachments like outlook for windows did would also be helpful for large file sizes.

    I believe this article should resolve this problem for you:
    Create a Service to attach files to a new Outlook for Mac mail message
    Also, you should be able to drag/drop a file from the Finder onto the Outlook icon on the Dock.

  • Missing or corrupt PDF Attachments from Outook

    My company uses a software package to auto create customer invoices as PDF documents which it then attaches these to a Plain Text email within Outlook 2003 which are then sent out to our customers email addresses.
    The server running this program is using Win Server 2003 SP2 and Office 2003 Outlook to create & send the email.
    Some customers see the PDF attachment ok, i.e those using Outlook, others using Hotmail, AOL, Outlook Express, Mozilla Thunderbird are all experiencing problems like missing attachments - Outllook Express / Thunderbird, Corrupt Files - Hotmail /AOL.
    Is this to do with Internet Settings in Mail Format of Outlook, this is currently set as Plain Text without UUENCODE and HTML in pictures is checked.
    Can anyone help?
    John.

    Hey John,
    You may want to look into how your application is building the PDF. I had a very similar issue with almost the exact scenario you are having. Do some searching around PDF and "dot stuffing". The problem I had related to where the binary stream of the PDF began, there were extra  dots (.) inserted causing the data to be invalid when the client attempted to read the encoding.
    I believe it was a bug in the VB .net object itself (the code was fine) , I cant recall the version, perhaps v2 ??
    -Dan 

  • HT4356 Why can I not print attachments from gmail on my ipad mini, it will print photos and anything from safari

    Why can I not print attachments from gmail on my ipad mini, it will print photos or anything from safari?

    For Gmail attachments, if they are PDF files (as well as many other formats) when you are viewing them on the iPad in Safari there is an option to "Open in iBooks" just below the tab you have open (at the top of the page).
    From iBooks you can print them to a wireless printer easily.
    Hope this helps.

  • How can I print PDF attachments from ABAP report in transaction ME23N?

    Hi,
    Users attach PDF files using "services for objects" in transaction ME23N.
    How can I print the PDF attachments from ABAP report ?
    Thanks in advance,,

    Hi,
      check this link,this might help you to solve your problem
    /people/thomas.jung3/blog/2005/04/28/setting-up-an-adobe-writer-for-abap-output
    Regards
    Kiran Sure

  • How to download PDF attachment from gmail on iphone 5S

    Hi,
    How to download PDF attachment from gmail on iphone 5S
    Regards
    Ram

    Hello Ram2910
    You should be able to view them natively within iOS. If you can view them in safari and want to save them, then download iBooks or search for other apps that can view and save them.
    iBooks
    https://itunes.apple.com/us/app/ibooks/id364709193?mt=8
    iBooks: Viewing, syncing, saving, and printing PDFs on iPhone, iPad, and iPod touch
    http://support.apple.com/kb/ht4227
    Regards,
    -Norm G.

  • ? Can't print PDF attachments to gmail since installing 11.06

    I am on Windows 7 and Firefox,  Since installing 11.06 I can't print PDF attachments to gmail messages.  I get a (false) message that file cannot be printed, because no pages have been selected.  I tried uninstalling 11.06 and downloading and insatalling it again,  Same result. Any way to download a backlevel version for the time being?  Would appreciate any other sugestions.. 

    Disabling Protected Mode as suggested solved the problem.  It seems to me the impact of Protected Mode should have been highlighted with a warning at the download site.  Alternatively, and in my opinion preferably, Protected Mode enabled should not have been made the default. -shel488

  • Computer shuts down when opening attachments from Gmail in Chrome

    Hi everyone,
    I've been having an issue when downloading file attachments from Gmail--namely image files, though I haven't tried anything else. My computer keeps shutting down!
    I'm running OSX Lion on a Macbook Pro with 2.66 GHz Intel Core i7 and 4 GB 1067 MHz DDR3.
    The issues have persisted for several weeks now, following my upgrade to Lion. Could you offer any advice?
    Regards,
    Jim

    It seems that this is the good old "I think it's 64bit" error. It tries to install 64bit components on your 32bit system. This specifically comes down to some DLLs on your system being missing or the wrong version, possibly even a hardware driver returning some false info (processor controlelr etc.) I'd check Windows Update and verify the SP2 is installed correctly. Also make sure your MSVC 2008 runtime and possibly .NET 1.1 are isntalled correctly. Verify in your device manager that the CPU is detected correctly and Windows isn't running in some sort of compatibility mode. if there came a specific set of drivers with your motehrboard, installing them alone might fix a lot of things, as then you actualyl may also see Windows Update install some components for the first time that may be missing currently...
    Mylenium

  • Can't download PDF attachments from Hotmail

    Hi,
    For the past 3 - 4 weeks, I have been unable to download PDFs attached to Hotmail messages.  The Windows forum has been unable to help.
    I'm running Windows 7, IE 9 and using Acrobat X standard.
    So far I have cleared my cache and reinstalled silverlight as the Windows guys suggested.  I also restored my computer to a point in the past when I could download attachments.
    I can download PDFs from web sites, and open existing documents.  I cannot download PDF attachments from other email accounts (such as my academic account).
    Any thoughts?

    If there is an option to download in binary mode, be sure that is selected. I do not have HotMail and have no clue what options might be available.

  • .pdf attachments already open in outlook, won't send to iBooks

    How can I stop pdf attachments from opening in the body of an email on iPad 3, so I can download and open them in iBooks? This only happens with some .pdf's. I'm trying to send some to myself right now from a different email, but when I open it the attachments are viewable in the body, and I can't get them in iBooks; this has happened quite a bit with certain .pdf's, and makes work much harder! Please help if you know how to remedy this!

    What version of iOS are you running?
    What you are describing typically occurs with single page PDFs (but not always). You should still be able to tap and hold to get the menu that allows you to open the file in other apps, including iBooks.

  • Emails are receiving as splitted attachments from mac to outlook

    emails are receiving as splitted attachments from mac to outlook.
    If i send to any of other outlook users, whole email body will split and receiving as attachment, like ATT00001.htm. but all other recipients thinks that it is empty email.
    If i remove any attachment from the same email, it will receive properly. the problem is happened only we attaching any documents with the email, it will split  the mail body into two three attacment and will attach with  original document.

    Send a test e-mail to yourself and see if it appears normal. The problem may be Outlook, not Mail. Once you send the e-mail, you have no control over how the received e-mail is displayed in another e-mail program.

  • Multiple pdf attachments from server folder using SO_DOCUMENT_SEND_API1

    Dears,
    I am trying to build a program able to send an email with multiple pdf attachments.
    The files are stored in a folder in SAP server.
    I am able to generate a pdf file from a spool and sucessfully attach it to the email using:
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
          IMPORTING
            bin_filesize           = v_bin_filesize
          TABLES
            otf                    = job_output_info-otfdata
            doctab_archive         = it_docs
            lines                  = it_lines
          EXCEPTIONS
            err_conv_not_possible  = 1
            err_otf_mc_noendmarker = 2
            OTHERS                 = 3.
        IF sy-subrc = 0.
          LOOP AT it_lines.
            TRANSLATE it_lines USING ' ~'.
            CONCATENATE gd_buffer it_lines INTO gd_buffer.
          ENDLOOP.
          TRANSLATE gd_buffer USING '~ '.
          DO.
            it_mess_att_aux = gd_buffer.
            APPEND it_mess_att_aux.
            SHIFT gd_buffer LEFT BY 255 PLACES.
            IF gd_buffer IS INITIAL.
              EXIT.
            ENDIF.
          ENDDO.
        ENDIF.
    Internal table it_mess_att_aux is the parameter contents_bin of FM SO_DOCUMENT_SEND_API1.
    I have now 2 files on a server folder which I would like to include as well.
    I am reading the content of the pdf files in following way:
    DATA:   gd_buffer                 TYPE string,
          OPEN DATASET lv_fileserver FOR INPUT IN BINARY MODE.
          IF sy-subrc <> 0.
            MESSAGE e257(zmsgsd) WITH lv_fileserver.
          ELSE.
            CLEAR: it_mess_att_aux[], gd_buffer.
            DO.
              READ DATASET lv_fileserver INTO gd_buffer.
              IF sy-subrc <> 0.
                EXIT.
              ENDIF.
              APPEND gd_buffer TO it_mess_att_aux.
            ENDDO.
            APPEND LINES OF it_mess_att_aux TO it_mess_att.
    I do not understand the purpose of the statement:
            TRANSLATE it_lines USING ' ~'.
    in this context. Could anyone explain it?
    All the files are attached to email with the desired name but corrupted and with the wrong size.
    Can anyone help me build the logic to attach a pdf file from server in a email?
    Thank you in advance,
    Kind Regards,
    João Cabrita

    hi , try this ,it is working fine  .
      DATA: i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
              i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
              i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    *          wa_doc_chng LIKE sodocchgi1,
              i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    *         i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
           i_objhead LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_tline TYPE TABLE OF tline WITH HEADER LINE,
          i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          wa_doc_chng LIKE sodocchgi1,
          v_lines_txt TYPE i,
           l_lines TYPE I VALUE '20'.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format        = 'PDF'
          max_linewidth = 132
        IMPORTING
          bin_filesize  = bin_filesize
        TABLES
          otf           = int_tab_otf_final
          lines         = int_pdf_tab.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *****************soc ranjan***************************
    *  IF full_path IS INITIAL.
    *    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    *      EXPORTING
    **    WINDOW_TITLE         =
    **           DEFAULT_EXTENSION    = 'PDF'
    **    DEFAULT_FILE_NAME    =
    *           file_filter          = 'Portable Document Format (.pdf)' " for restricting saving file only as pdf
    *      CHANGING
    *        filename             = file_name
    *        path                 = file_path
    *        fullpath             = full_path
    *    IF sy-subrc <> 0.
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *    ENDIF.
    *  ENDIF.
    ******************eoc ranjan*****************
    *break-point.
      CONCATENATE full_path git_select_option-pernr INTO path SEPARATED BY '_'.
      CONCATENATE path 'PDF' INTO path SEPARATED BY '.'.
    **  **************************for downloading*********************************
    *  CALL FUNCTION 'GUI_DOWNLOAD'
    *    EXPORTING
    *      bin_filesize = bin_filesize
    *      filename     = path
    *      filetype     = 'BIN'
    *    IMPORTING
    *      filelength   = file_size
    *    TABLES
    *      data_tab     = int_pdf_tab.
    *  IF sy-subrc <> 0.
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *  ENDIF.
      CLEAR : lop , el , sl , cl .
    *  ******************addeddd later  by ranjan  21.04.2011
    DATA : desc TYPE char40 ,
          desc1 TYPE char100 .
      CALL FUNCTION 'QCE1_CONVERT'
    TABLES
    t_source_tab = int_pdf_tab
    t_target_tab = i_record
    EXCEPTIONS
    convert_not_possible = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    WRITE : / 'Error in conversion of pdf lines'(015).
    ENDIF.
    APPEND LINES OF i_record TO i_objbin.
    *Creation of the entry for the compressed attachment
    DESCRIBE TABLE i_objbin LINES bin_filesize.
    i_objtxt = 'Hi'.
    APPEND i_objtxt.
    i_objtxt = '                                     '.
    APPEND i_objtxt.
    i_objtxt = 'Pls  find  the attached  salary slip ' .
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = '         '.
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = '        '.
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = '         '.
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = '         '.
    APPEND i_objtxt.
    i_objtxt = '  '.
    APPEND i_objtxt.
    i_objtxt = 'Regards:  '.
    APPEND i_objtxt.
    i_objtxt = 'Corporate HR  '.
    APPEND i_objtxt.
    DESCRIBE TABLE i_objtxt LINES L_LINES.
    READ TABLE i_objtxt INDEX L_LINES.
    wa_doc_chng-doc_size = ( L_LINES - 1 ) * 255 + STRLEN( i_objtxt ).
    *Creating the entry for the compressed document
    CLEAR i_objpack-transf_bin.
    i_objpack-head_start = 1.
    i_objpack-head_num = 0.
    i_objpack-body_start = 1.
    i_objpack-body_num = L_LINES.
    i_objpack-doc_type = 'RAW'.
    APPEND i_objpack.
    ***CLEAR:  i_objpack .
    ***i_objpack-transf_bin = ' '.
    **i_objpack-head_start = 1.
    **i_objpack-head_num = 0.
    **i_objpack-body_start = 1.
    **i_objpack-body_num = L_LINES.
    **i_objpack-doc_type = 'TXT'.
    **i_objpack-obj_descr = desc1 .
    **APPEND i_objpack.
    *CLEAR: i_objhead .
    *i_objhead = DESC.
    *APPEND i_objhead.
    *break-point .
    i_objpack-transf_bin = 'X'.
    i_objpack-head_start = 1.
    i_objpack-head_num = 1.
    i_objpack-body_start = 1.
    i_objpack-body_num = bin_filesize.
    i_objpack-obj_name = 'Employee Payslip'.
    i_objpack-obj_descr = 'Employee Payslip'.
    i_objpack-doc_size = bin_filesize  * 255 .
    i_objpack-doc_type = 'PDF'.
    APPEND i_objpack.
    CONCATENATE 'Salary Slip of Month' p_month INTO desc SEPARATED BY ' ' .
    *DESCRIBE TABLE i_objtxt LINES v_lines_txt.
    *READ TABLE i_objtxt INDEX v_lines_txt.
    ****wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 375 + STRLEN( i_objtxt ).
    wa_doc_chng-obj_name = 'Payslip'.
    wa_doc_chng-expiry_dat = sy-datum + 10.
    wa_doc_chng-obj_descr = desc.
    wa_doc_chng-sensitivty = 'F'.
    wa_doc_chng-doc_size = v_lines_txt * 255.
    CLEAR i_objpack.
    DATA: l_usrid_long TYPE pa0105-usrid_long.
    DATA : emessage(70) TYPE c.
    CLEAR : l_usrid_long.
    SELECT SINGLE usrid_long
    FROM pa0105
    INTO l_usrid_long
    WHERE pernr = git_pa0001-pernr
    AND subty = '0010'.
    *break-point.
    IF sy-subrc EQ 0.
    i_reclist-receiver = l_usrid_long.                     
    i_reclist-rec_type = 'U'.
    i_reclist-com_type = 'INT'.
    APPEND i_reclist.
    ELSE.
    WRITE:/ 'No email id is maintained for this personnel number' , git_pa0001-pernr.
    ENDIF.
    IF NOT i_reclist[] IS INITIAL.
    ***************************************for senders id *************************************
    CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
      EXPORTING
        document_data                    = wa_doc_chng
      put_in_outbox = 'X'
       sender_address                   = 'xys'
       sender_address_type              = 'SMTP'
       commit_work                      = 'X'
    * IMPORTING
    *   SENT_TO_ALL                      =
    *   NEW_OBJECT_ID                    =
    *   SENDER_ID                        =
      TABLES
    packing_list = i_objpack
    object_header = i_objhead
    contents_bin = i_objbin
    contents_txt = i_objtxt
    receivers = i_reclist
    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.

  • Unable to view PDF attachments from my iPhone.

    I am using service called RightFax this service is send the faxes to clients mailboxs. I have been reported from clients that they are unable to view the attachmentson their iPhones, the attachment format is PDF. The attachment can be openned from any desktops and Android phones without any issue.
    i can see attachment from on my iPhone but when i tab on it to view it it just scrolled up to the top of the mail. Also if i farward the same fax mail to my self then i can view the attachment.The IOS version is 7.1.
    I contact the RightFax company to check with them why only attachments from fax mails with PDF format is not openning from iPhone devices from the first time, the company check theur services and do tests and reply me that there is no issue with their services since the PDF attachments are openned on android and desktops. They informed me that it might could be compatability issue between Exchange 2013 and apple that doesn't allowed PDF attachments to be openned from the first time, so they advised to contact Apple support to find out why PDFs are not openning when i initially attempt to download them.
    I download third party mail client on my iPhone and all fax attachments are openned without problem.
    Could anyone help me with this strange issue ??

    RightFax advised you to contact Apple Support - this is NOT Apple Support but rather a public user to user technical support forum.
    As far as I know, it is not possible to open PDF attachments on an iPhone, but it is on an Android phone, which is why you are having the problems - unless there is an app to help you that you can purchase in the app store, then there is not a lot you can do about this, except switch to an android phone, but as far as I know, you have never been able to open PDF documents on an iPhone.

  • E-mail HR Payslips as PDF attachments

    Good afternoon,
    I want to e-mail the HR Payslip to users in my company as PDF attachments. My idea is to use the standard report RPCEDTP0 and check if the user has an e-mail address on infotip 105. If No, just print the payslip. If Yes, send the payslip to the spooler, get the spool order id back, convert it to pdf and send the mail. All those steps are not dificult to code. The problem is Where to make this on the original report. Is there any user-exit that can be used to implement this logic? if not, what's the better way to solve this problem?
    Thank you
    Best regards
    Paulo Sousa

    Hello,
    Just like you have defined an ouput type for smartforms ,you can define new output type with external email option as medium which will first generate a PDF from invoice data & then send it as email .
    I am not sure but you can also try this ::::::
         If you have custom-developed smartforms program,then you can add email code at the end of smartform execution by generating PDF, in the same output type instead of  creating new.
    Thanks.

  • How to Stop Large PDF attachments from displaying?

    Using Leopard and large PDF attachments (9mb) slow Mail down to a crawl. Is there a way to stop attachments from automatically displaying in Mail. It can be all atachments, it does not have to be just PDF or a certain size.
    Dan

    Hi Mulder,
    I think it must be noted that Plain or Rich Text has no bearing on Mail's ability to View in Place. Nor does View in Place have any bearing on each attachment being a true attachment. Whether it is viewed Inline by the recipient will depend entirely on the recipients email client, and not how you send.
    View in Place must not be confused with embedding images into text. The frequent discussion in these forums, and what you refer to, about whether to use Plain Text or RTF is relevant to some recipient email programs seeing inline attachments as embedded images due to the presence of the HTML that results from RTF when multiple fonts and attachments are present. The fact that the person composing sees the attachments with View in Place has no bearing on this issue involving HTML that results from RTF.
    Choosing the View as Icon while you Compose has no bearing on how the recipient's email application displays it.
    With those email clients where you can select to not view attachments inline, those you find viewing in place as you compose will in fact be seen as attached files in Icon form.
    At my request, I was sent a test message with a JPEG prepared using Iconiser -- Mail still displayed the JPEG in the message with View in Place when received. However, an examination in Raw Source form showed the header to the attachment did not have the disposition as "Inline" as it normally would -- this would aid with some recipients, such as those using Lotus Notes, where the attempt to adhere to the inline quality causes problems. But Mail, and some other email clients, can still display the message with attached images with View in Place or Inline View. The use of Iconiser will not guarantee to change that.
    As you have pointed out, zipping will prevent any form of View in Place from working.
    All the best,
    Ernie
    Message was edited by: Ernie Stamper

Maybe you are looking for