amforms icon indicating copy to clipboard operation
amforms copied to clipboard

Seperate notifications

Open magnusland opened this issue 9 years ago • 10 comments

Is it possible to seperate notifications — i.e. one receipt notification to the form submitter, and one summary notification to the site admin?

magnusland avatar Nov 03 '15 14:11 magnusland

This is currently not available. Only the option to send the notification to multiple email addresses.

For the time being; you could write a plugin that hooks into the onEmailSubmission function.

hubertprein avatar Nov 04 '15 13:11 hubertprein

Bummer. This would be a great feature to add!

Thanks for the onEmailSubmission recommendation!

Ramshackle-Jamathon avatar Dec 10 '15 19:12 Ramshackle-Jamathon

It's a feature we got in mind, but haven't got the time to create this yet.

hubertprein avatar Dec 11 '15 13:12 hubertprein

Was this implemented into the plugin? I see the "Send copy" option on the "Notifications" tab of a form.

On the same kind of topic, what twig variable could I test against to use different HTML if the email is going to the submitter or the admin?

roberttolton avatar Jun 17 '16 14:06 roberttolton

Found this thread as after the same functionality for separate notifications. Definitely +1 for adding this.

JonnyBR12 avatar Jul 04 '16 11:07 JonnyBR12

Yes +1 for adding this too

modelesque avatar Jul 21 '16 14:07 modelesque

Is it possible to target the submitter as a separate variable in the email template? Then we could just write an if statement in twig to output a "separate" looking email. Or maybe this wouldn't work because it only sends it once - as in the first true if clause would be what sends to all recipients?

theskyfloor avatar Jul 22 '16 02:07 theskyfloor

+1 for separate notification emails

bartrylant avatar Jul 27 '16 09:07 bartrylant

+1 not sure if it's mentioned, but different templates for both notifications would be nice too. The submitter can receive a formatted notification and the site-admin will receive just some text content mail :-)

bertoost avatar Sep 13 '16 09:09 bertoost

It's possible since 1.6.0. @hubertprein, you can close this issue as well.

raymondelooff avatar Nov 11 '16 20:11 raymondelooff