Forums

Attach file from URL

hwsassisi 26 Jan, 2019
Dear all
how is possible to attach a file from a public HTTP url into an email?
Regards

HWS
healyhatman 26 Jan, 2019
Answer
You can't just using the CF mailer. You'd probably have to do it yourself using the PHPMailer.

Also though: Why?
hwsassisi 26 Jan, 2019
Because I have some PDF files on my HTTP server and I would like to attach them when I send an email to a my customer.
Could I ask to evaluate to add this functionality to a next release?
Regards
healyhatman 26 Jan, 2019
Use the contact button up top and ask the developer.
GreyHead 27 Jan, 2019
Hi hwsassisi ,

You can include a download link to the files in the email - or if they are on the same server as the form you can attach the files themselves.

Bob
hwsassisi 27 Jan, 2019
Yes, they are on the same server, but it seems to me that setting the full url into the attachment property of the email, no file is attached
Regards
healyhatman 27 Jan, 2019
Needs to be a file path not a url if you want to attach them to the email.
This topic is locked and no more replies can be posted.