How to attach an external PDF file to the email

  • cmsatetsu
    Asked on November 28, 2016 at 9:30 AM
    .I want to attach an external PDF file to the email that is being sent out.  So that when the user submits the form and the email auto-responds, that email has an attachment that goes with it.  The attachment is a campus map.

    After reviewing this thread, https://www.jotform.com/answers/888865-Can-we-attach-a-custom-PDF-file-to-the-email-alerts it looks like this is not possible at this time.

  • emily
    Replied on November 28, 2016 at 9:41 AM

    You are able to attach a file to the autoresponder email. So when the user enters his/her email to the form and submits it, he/she will receive an autoresponder email with the attachment you have uploaded.

    For further guidance, please have a look at the screenshots below. 

    1. Click on Emails->Create New Email and select Autoresponder Email.

    How to attach an external PDF file to the email  Image 1 Screenshot 40

     

    How to attach an external PDF file to the email  Image 2 Screenshot 51

    2. Go to Advanced segment and attach your PDF file.

    How to attach an external PDF file to the email  Image 3 Screenshot 62

    You can find further information on Autoresponder Emails from the user guides below.

    https://www.jotform.com/help/26-Creating-a-Form-Autoresponder

    https://www.jotform.com/help/30-Explanation-of-Email-Notification-and-Autoresponder-Settings 

    I hope this helps. If you have any question, please let us know.

    Thank you.

  • cmsatetsu
    Replied on November 28, 2016 at 11:14 AM

    thank you.  I followed this process, but what happens is the attachment comes through as blank.  It's attached, but it is empty with no content.  The original file size of the attachment is 

    The attached PDF file is 266 KB in size.

     The form submits and the PDF seems to be attached to the email response, however, there is nothing in the PDF.  It's 2kb in size.  On desktop, it's blank, on mobile it won't open at all.

    I have tried clearing the form cache on the account, but that didn't seem to help.

    Can you help me with why the content of the PDF is being stripped?

  • David JotForm Support Manager
    Replied on November 28, 2016 at 11:43 AM

    Maybe the file is corrupted. Please share the file with us, so we can attach it to one of our forms in order to test it.

  • cmsatetsu
    Replied on November 28, 2016 at 1:53 PM

    thank you.  I found the problem.  The filename for the PDF contained spaces.  Once I removed the spaces, the attachment is delivered properly.