Support » Plugin: Contact Form by WPForms - Drag & Drop Form Builder for WordPress » PDF Attachment in a Form Notification Email

  • Resolved wrightsarah

    (@wrightsarah)


    Hey there! I have the WPForms Lite plugin installed, with using SendGrid SMTP, and everything is working great. The only issue I am having is getting a PDF attachment to send in a form notification email. So if a user submits a form, it sends a PDF with their submission confirmation.

    I found an article from WPForms online, and use the following code, however it is not working.

    Click to join the study

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • wrightsarah

    (@wrightsarah)

    `
    <a href=”https://helloortho.com/wp-content/uploads/2020/10/Join-Our-Study-Letter.pdf&#8221; target=”_blank” >Click to join the study</a>

    There is the code

    Plugin Support Ethan Choi

    (@ethanchoi)

    Hi @wrightsarah,

    It looks like there could be some formatting issues when the code is copied from the article and copied into the Message field of your notification settings. Specifically, the inverted commas/double quotation marks may be causing the issue.

    When you get the chance, could you try removing the inverted commas/double quotation marks from the HTML in your Message field, and manually type them in?

    <a href="https://helloortho.com/wp-content/uploads/2020/10/Join-Our-Study-Letter.pdf" target="_blank" rel="noopener">Click to join the study</a>

    Hope this helps!

    • This reply was modified 1 month ago by Ethan Choi.
    wrightsarah

    (@wrightsarah)

    Hi Ethan,

    Thank you so much for your response. I manually typed the code into the message box and unfortunately the PDF is still not sending when the form is submitted. The reply-to is set to {field_id=”1″} which is the email field, and the code is placed in to the message field. Is there something I am missing?

    I appreciate you taking the time to help me with this!

    <a href="https://helloortho.com/wp-content/uploads/2020/10/Join-Our-Study-Letter.pdf" target="_blank" rel="noopener">Click to join the study</a>

    wrightsarah

    (@wrightsarah)

    I got it! Thank you for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.