It’s easy to add a recipient for a notification with af/form/email/recipient, but what if I want to add that recipient for a certain notification?
Let’s say I need to send two different confirmation emails after the submit: one for the sender and one for the owner/seller who’s information is saved in the post (I have this form at the end of every post in category X). So that’s two different emails that don’t have the same exact content.
The email address for the sender is taken from the filled form. But the address of the owner/seller is saved in the post in an ACF field. With af/form/email/recipient I can get that saved address and add it to the list of recipients, but now I’d need to select that certain email notification I want to send to this address. Is that possible?
I can send the same email to both, but that’s not ideal nor is it intentional to have the sender and the owner see each other email addresses.
- The topic ‘Adding recipient to a certain email notification dynamically’ is closed to new replies.