• Resolved florianroch2016

    (@florianroch2016)


    Hello,
    I would like to put the download link in the body of the email instead of having the file attached to the email.
    How to do ?
    Thank you in advance for your reply.
    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author maximum.software

    (@maximumsoftware)

    Hi,

    Normally, the generated PDF is temporarily on the server. Once the email is sent, the PDF file is automatically deleted by CF7.

    If you use the “download link in form submission response” feature, that file stays on the server only for a short period of time, so, it is not usable as a download link in an email.

    There is a way to create links in email messages such that they link to message attachments, however, I don’t know if CF7 even supports this feature. I’ll have to investigate this option sometime.

    Anyway, if you use the save PDF feature (see PDF options), you can then create a link which would work in your case.

    Here is how to use this method:
    1. Set save PDF file path to “myform”
    2. Set filename to “[_remote_ip]” (or “[_serial_number]” which requires Flamingo 1.5+ be installed)
    3. Add this link to the body of your email: <a href="https://yoursite.com/wp-content/uploads/myform/[_remote_ip].pdf">my PDF</a>

    This will save PDFs in your uploads folder and keep them there forever, allowing the link to work for a long time.

    I would not use [_remote_ip] because it would not be unique per submission, [_serial_number] is what you want most likely.

    Let me know if that helps or not.

    Hi,
    I’m Using this plugin, I attached pdf, and give some voucher code on pfd. the pdf is working fine and send emails as well, i want to download attached pdf after click the submit button

    Plugin Author maximum.software

    (@maximumsoftware)

    Hi @rabdullah876

    The “download link in form submission response” feature might be what you are looking for. However, that just adds a download link to the response message that appears after you click the submit button.

    Are you looking to have it start the download right after clicking the submit button?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Download link in the body of the email’ is closed to new replies.