Attach file from URL

Attach a file from a URL in ChronoForms.

Overview

The issue occurs when trying to use a full HTTP URL in the attachment property, which the CF mailer does not support for remote files.
To attach files, ensure they are on the same server and use the local file path instead of a URL in the attachment settings.

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

HWS
he 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?
hw 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
he healyhatman 26 Jan, 2019
Use the contact button up top and ask the developer.
Gr 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
hw 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
he 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.