attach files dynamically to Mail(2) possible?
-
Hi,
I have a pretty simple form containing a dropdown of 3 options. A,B,C. Each option refers to a different PDF file. Lets say test1.pdf, test2.pdf and test3.pdf for arguments sake.
The form uses Mail(2) as an autoresponder back to the person filling the form in. How can I make it so that choosing dropdown A attaches test1.pdf to the email, choosing B attaches test2.pdf and so on.
I have tried adding the dropdown reference in the attachments field instead of the relative file URL but then nothing attaches to the email. I have also tried coding the dropdown choices with name, then pipe, then file url but does not seem to push through to the final email.
Is this even possible?
Cheers guys
- The topic ‘attach files dynamically to Mail(2) possible?’ is closed to new replies.