Attach uploaded files only to admin confirmation email not to user confirmation email

By: C. Krug | Asked: 08/12/2024
ForumsCategory: How-toAttach uploaded files only to admin confirmation email not to user confirmation email
C. Krug asked 4 months ago
Hello, I created a form that includes uploading files. When sent there should be two confirmation emails - one WITH the uploaded files and default message for the admin and one WITHOUT files and custom message. I created these confirmation emails. But: both emails contain the uploaded files. Is there a possibility to avoid it?   Thanks for your help!
3 Answers
Rob LeVineRob LeVine answered 4 months ago
When you say "contain", do you mean they are attachments or they are links within the message? If it's the latter, then you must have something in the message body causing that.
C. Krug answered 4 months ago
Hi, I mean the files as attachments. Which is logical for the admin email but not for the client email that just says "Thank you your request has been sent .."  If I understand correctly I can only choose "add attachments" in the setups but not separately for each email? Thanks!
Dedi Thorne replied 4 months ago

Add the send email action twice. Once for the admin and toggle the switch at the bottom to have it send a pdf to the admin. Then do not toggle it on the email to the client.

Rob LeVineRob LeVine answered 4 months ago
I created a form with a file upload field and two notifications. Neither had files attached to it. Are you certain that:
  1. Attach CSV export of entry to email is unchecked
  2. Attach PDF of entry to email is unchecked
  3. You've don't have a snippet that uses this
  4. developer hook?
Also, are you saying that the uploaded files are attached or that something else is? You can choose "add attachments" for each notification separately, but not for each entry the notification is sent for.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right