Forums

Reply email with different attachments depending of dropdown choice

damconsulting 27 Oct, 2021
Hi, I've a CF6 form in which user can choose a value from a dropdown field.
I'd like to send a reply email to him (on submit) with a pdf attachment depending of the choice in the dropdown.

I try to explain better:
- Dropdown -> Please select the product you need documentation -> "Epson Scanner"
- Submit action -> Send an email with "epson_scanner.pdf" to user.
And so on.

Any idea?
Thank you.
DC
GreyHead 28 Oct, 2021
HI DC,
You will need to use some custom PHP to create a form variable with the appropriate file path then you can add that in the Attachment box of the email action.

Bob
You need to login to be able to post a reply.