PDF attachments are changed when emailed

I have a user that whenever she creates or prints a PDF (Adobe 8 Professional) and then tries to email it within Adobe (going to file -> attach to an email), it converts to either a winmail.dat, .eml or a .mht file when the person receives it. It only does this when she sends to someone not using outlook. If she attaches the pdf outside of Adobe, then it works. Rich-text is turned off in Outlook and Adobe is patched and up to date. Any suggestions???? This is driving me crazy!!!!!!!!!

Have you tried changing the message format in Outlook to HTML?

Similar Messages

  • Some PDF attachments are corrupted when emailed using javamail

    I have a java class that takes a file name, 'To' email, and 'From' email as parameters, and then emails the named file to the specified address as a Multipart email.
    The problem that I am facing is that sometimes the PDF cannot be opened when it arrives because it is corrupt. I know that prior to sending, the PDF opens without issue, so the problem is in the code somewhere.
    There are a couple of oddities here:
    1) PDFs that get corrupted and PDFs that do not get corrupted are generated from the same source (Oracle Report), so I believe that rules out a problem with malformed emails?
    2) If I compare the PDF before it gets sent to the PDF that arrives in my inbox using a hex editor (XVI32), the files are identical except that an extra character is getting added to the corrupt PDFs at the end of each line - hex '0A', which corresponds to ASCII linefeed. This indicates to me that maybe there is a problem with the way that the file is getting encoded when it is read. If I remove all of the 0A characters, the file opens correctly.
    I believe that the code I am using is set up correctly, as I have looked at countless examples of this online to try to find my problem. Hopefully someone can point me in the right direction. Code is included below.
    Thanks,
    Nick
    import java.util.*;
    import javax.activation.DataHandler;
    import javax.activation.FileDataSource;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class test {
        public static void main(String args[]) {
            System.out.println("entered TEST email class");
            if (args.length < 3) {
                System.out.println("Invalid number of arguments. Syntax is 'java test <fileName> <fromEmail> <toEmail>'");
            } else {
                System.out.println("Correct number of arguments.");
                send(args[0], args[1], args[2]);
        public static void send(String fileName, String fromEmail, String toEmail) {
            System.out.println("Made it to SEND method");
            try {
                Properties props = new Properties();
                props.put("mail.smtp.host", "email.host");
                Session session = Session.getDefaultInstance(props, null);
                MimeMessage msg = new MimeMessage(session);
                //set from/to email addresses
                System.out.println("Setting email addresses...");
                msg.setFrom(new InternetAddress(fromEmail));
                msg.setRecipients(javax.mail.Message.RecipientType.TO, toEmail);
                //set email subject
                System.out.println("Setting subject...");
                msg.setSubject("email from TEST class");
                //define a body part for the email text and add text to it
                System.out.println("Setting body...");
                MimeBodyPart messageBodyPart = new MimeBodyPart();
                messageBodyPart.setContent("This is the email body. Here is some more body.", "text/html");
                //add code for attachment here!!
                System.out.println("Setting attachment...");
                MimeBodyPart attachFilePart = new MimeBodyPart();
                FileDataSource fds =
                        new FileDataSource(fileName);
                attachFilePart.setDataHandler(new DataHandler(fds));
                attachFilePart.setFileName(fds.getName());
                //define a multipart, and add the text body part and the attachment body part to it
                System.out.println("Building message...");
                Multipart mp = new MimeMultipart();
                mp.addBodyPart(messageBodyPart);
                mp.addBodyPart(attachFilePart);
                //add the multipart to the message
                msg.setContent(mp);
                //send the email
                System.out.println("Sending message...");
                Transport.send(msg);
                System.out.println("Email has been sent!");
            } catch (Exception e) {
                System.out.println("Error in test.send method: " + e.getMessage());
    }Edited by: nbacon on Sep 2, 2010 12:12 PM

    Normally pdf files are text, with any binary data represented as encoded text. If your pdf files
    include raw binary data, JavaMail can be confused. JavaMail will try to guess what encoding
    is appropriate for your data. If the data is mostly text, JavaMail will use quoted-printable encoding,
    and will canonicalize the text lines to end with CRLF (0x0D, 0x0A). A 0x0D in the binary will look
    like an end of line and will turn into 0x0D, 0x0A.
    You can force JavaMail to use base64 encoding for your data, which will preserve the binary
    data exactly, by using
    attachFilePart.setHeader("Content-Transfer-Encoding", "base64");
    after setting the content for the part.
    Alternatively, you could figure out how to generate pdf files that don't include raw binary data.

  • Why are PDF attachments are showing up on the body of emails, instead of as actual attachments?

    PDF attachments are showing up in the body of my emails rather than as attachments. I need to be able to open them in other programs, eg notability, mad can't do that if they're not real attachments. On my other devices they're showing up at regular attachments.

    When a PDF that has only one page is attached to an email the Mail app will display the conte tents of the PDF in the body of the email. But the PDF is still an attachment. Tap on the PDF to open in iBooks or forward it to your computer to open it there. Again, the one page PDF will display the contents of the single page but the PDF is still an attachment and can be used like any other attachment.
    When a PDF that has more than one page is attached to an email the Mail app only displays the icon for an attachment.

  • CS6 Illustrator and InDesign colours are changed when the PDF is saved.

    CS6 Illustrator and InDesign colours are changing when the saved PDFs are displayed on some different computers and for digital print output. I have ensured that the colours are all CMYK and tried different adjustments like preserving the numbers and the like but nothing is working. It prints properly on my inkjet and has displayed properly on different computers.

    You need to read up on color management, color profiles and all that....
    Mylenium

  • In outlook 2013 emails,pdf attachments are not showing in pdf formats

    Hi,
    We are using outlook 2013 as pop account for our official email communication.One of the laptop is having windows 7 professional operating systems and the email we are using as outlook 2013 in that laptop.
    The issue is that when we try to attach the pdf documents in outlook 2013,it is attaching but it is not showing in pdf format and it is showing as notepad or word file.
    when we try to open the notepad ,word file,it is opening in pdf format and also the client is receiving in pdf format.
    If we attach the pdf document in email,it should show in pdf format.
    Some settings are changed and i need your support to fix the issue.
    Regards
    Pradeep

    Hi,
    Are the PDF files showing with the PDF icon or other icons in your local disk?
    Please start Outlook in sate mode and test again. To do this, press Windows key + R to open the Run command, type
    outlook /safe and press Enter.
    In addition, you may also try to clean out the Temporary Outlook Files folder to check the result. See:
    http://www.howto-outlook.com/faq/securetemp.htm
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • PDF Attachments are the same in a signed/encrypted email

    I made a java backend that runs on AIX and sends encrypted/signed emails with S/MIME with 4 different PDF files attached, but the ipad and the iphone show all the attached files all alike, the user sees the first pdf file and then when he tries to see the others, the info of the first one is displayed in the second and the third one and so on, but the macbook pro, android, blackberry, windows clients show the attachments properly

    Hi,
    Are the PDF files showing with the PDF icon or other icons in your local disk?
    Please start Outlook in sate mode and test again. To do this, press Windows key + R to open the Run command, type
    outlook /safe and press Enter.
    In addition, you may also try to clean out the Temporary Outlook Files folder to check the result. See:
    http://www.howto-outlook.com/faq/securetemp.htm
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • PDF attachments are trying to open in Microsoft Publisher

    Why are my PDF attachments trying to open in Microsoft Publisher.  I click on the attachement, Publisher opens up with a File Conversion windown opening as well.  It will not open.  I have to save the file, then open Adobe Acrobat, then open the file.  It just started doing this a few weeks ago.  Anyone know what the problem is??

    I'm not sure how the issue would have started, but it sounds like you need to change your file associations so that your computer knows what program to use to open a file with a .pdf extension. Assuming you have a Windows system, below are the directions for fixing this problem (copied from the Microsoft support website):
    To change which program starts when you double-click a file, follow these steps:
    Open Windows Explorer by right-clicking the Start button, and then click Explore.
    Click a folder that contains a file of the type that you want Windows to open in a program that you select.
    Right-click the file and, depending on the programs installed on your computer, complete one of the following steps:
    Click Open With to choose the program that you want.
    Point to Open With, and then click Choose Program to choose the program that you want.
    The Open With dialog box is displayed. Use one of the following methods to select the program that you want to use for this file type:
    In the Programs list, click the program that you want to use.
    Click Browse, locate and then click the program that you want to use, and then click Open.
    Click Look for the appropriate program on the Web to browse the Internet for the program that you want to use.
    Click to select the Always use the selected program to open this kind of file check box if it is not selected.
    Click OK.
    Let me know if you need more help.

  • I have OSX Maverick on an iMac using Outlook e-mail.  PDF attachments are included in the e-mail  as the whole document rather than just the PDF icon.  How can i have just the PDF icon as an attachment?

    In Outlook my PDF attachments appear as whole documents and not just the PDF icon.  How can I have attachments included as PDF icons and not the documents?

    For your own viewing, you can of course control-click on the attachment and select "View as Icon".
    For others' viewing, it depends upon their email reader.  To ensure that attachments are not displayed expicitly you can put them all in a zip file (via control click and "Compress") then attaching them, or you can use third party stuff like Attachment Tamer.
    charlie

  • PDF attachments are showing up as WORD doc attachments

    For some reason, my Gmail program shows PDF attachments (that were created using Adobe) as a WORD attachment? When I double click on the attachment, it tries to open in WORD and just shows gobbledygook.  Yet, if I don't try to open it and save it to MY Docs, and then go in through Adobe and open it there, it works fine. This has just started in the last month or so. It's the same with every single attachment.

    In WIndows 7 or Vista Go to Control Panel>Programs>Default Programs>Set Associations.
    Scroll down the list to .pdf. Cick Change Program and set it to Adobe Reader. Click OK.

  • PDF attachments are blank.

    I have been composing and sending emails with pdf attachments for years through my gmail account with no problems...in the last few days, my customers are all complaining that the pdf files are blank.  All the pages send, but they have nothing on them.  I have been double checking before hitting send, and everything is fine.  I go to my sent items and the pdf's are indeed blank.  It is quite frustrating.

    Hi namtrag,
    Please refer the doc: https://forums.adobe.com/docs/DOC-4621
    Regards,
    Rave

  • My pdf attachments are not readable

    Recently when I sent pdf attachments to people they are not readable. When I send the same pdf attachments through gmail they are. My smpt is on my server (not gmail). Any idea why this does not work?
    Thanks

    tried another SMTP server, just to test?

  • Can business area change when we post a clearing document?

    Hi all,
      Is it possible to change the business area when we post a clearing document?
      For example, we need to pay the line item that have business area 3000. Then we use transaction F110 to create a payment then a clearing docuement will be created with business area 3000. Can we configure it to change to Business area 1000 when we do the payment.
      I tried to implement a FI substitution but Business area field cannot be changed(OSS Note 42615). we can do that by changing standard program but it is not recommended by SAP.
      Any idea on how to do this? Configuration, BTE or any user exits? Point will be rewarded for any helpful answer.
    Thanks,
    Chaiphon

    hi raj,
      Could you please explain more about assignment and substitution? did you implement this before?
      I am in doubt because OSS Note 42615 said that GSBER (Business area) must not be substituted. Therefore, if you implement it and there is no problem, I will do the same.
    Thanks,
    Chaiphon

  • What PDF settings are used when creating DPS articles?

    When you create a PDF file using Acrobat Distiller or InDesign you can modify settings such as font subsets, image down-sampling and compression which will have an impact on the final file size. Does anyone know what settings are used when articles are rendered in PDF format in DPS and can the settings be modified? Specifically, what type of compression is applied to images? If I were to place two images on a page, a png and a jpg with medium quality, would they be embedded in the PDF as is or re-compressed in another format and/or level of quality?

    Thanks for your help.
    So images placed in an InDesign retain their original file format and are unzipped when the article is loaded in the app.
    I'm assuming that if compression is applied to the original image files it can have an impact on performance. If you were to use jpeg files in a document they would need to be unzipped and decompressed. I've read other forum posts that suggest the iOS jpeg decompression engine is too slow to present a fluid user experience in a DPS app. The combined processing time of unzipping and decompressing jpegs files may steer me towards the png format.

  • Headers are changing when adding a new section between others

    Hi!
    I am compiling a colloquium program. For each lecture abstract, I have made a file with distinct headers. I open the page side tab, click on one page and copy it (Command+C). I click in the main file, in the page side tab, on the abstract which would be before the new one, and paste the new abstract (Command+V).
    The new abstract is neatly pasted after the old one, but the headers are changed : it has the previous abstract headers. Worse, every abstract, whose each is in a distinct section, has this previous abstract header, even if I turned off the «Same headers/footers as before» option!
    Is this a bug? Did I do something wrong?

    I may have found an explanation to this problem.
    When I put a one page document in the master document, every header I had written has been brought back! I think it is a dual page problem here. When the second page of a inserted document (left page) become an odd page (right page), it does not take in account the odd page of the inserted document, but the odd page of the section BEFORE the inserted document.
    Does anyone want to test this?
    Hope it will be fixed soon...

  • Upgraded to OSX 10.9.2; Pro Acrobat documents are blank when emailed

    I upgrade my system to OSX 10.9.2. I am using Acrobat Pro. My template forms work fine but when emailed, they show up and arrive as blank documents. Any suggestions as to how this can be fixed?

    Welcome to the Apple Support Communities
    The most recent iPhoto is 9.4.2, so open Apple menu > Software Update and install the most recent iPhoto. Also, check if you have another iPhoto copy of an older version on your Mac

Maybe you are looking for

  • Problem to update ipod

    I was trying to update my nano ipod but the following message appeared: "The ipod cannot be updated. The disk could not be read from or written to"

  • Slow response on Windows 2003 with web forms

    We are current running Oracle web forms on thin clients on Windows 2000 terminal server. We have installed Windows 2003 on one node of the cluster. When we run the same application on 2003, it is very slow and the screen flashes a lot. It takes 1-2 s

  • Dissappearing Application Windows?

    Hi, I am running mac os x 10.5.5 on a 3.06 24inch imac with 4gb ram. recently I have a worsening issue with application windows disappearing. It seems to happen with all applications intermittently & i cant pin down why it is happening. I do use spac

  • Old cinema displays vs new

    How big is the difference between the old cinema displays (2003) and the new ones? Are the old ones still good compared to entry level LCD's from samsung, dell etc?

  • Output as XML

    Is it possible to output a page in pure XML? For example, a user enters a URL pointing to a page in an APEX application, and the output is pure XML with no HTML tags....eg.,    <?xml version="1.0" ?>      <yadda>         <blah>111</blah>         <bla