amforms icon indicating copy to clipboard operation
amforms copied to clipboard

Reply to address admin notification should be the address of the submitter

Open noregt opened this issue 9 years ago • 16 comments

I noticed that the reply address of the admin notification mail is standard set in the form notification tab. This results in the admin (my client) answering to his/her own address. The address should be the submitters address (toEmail?) For the submitters' copy the reply address should be the set reply address in the notification tab or the (fromEmail).

noregt avatar Dec 30 '15 15:12 noregt

Partly solved this by setting {mailfieldHandle} as replyTo mail address in the notification. Drawback is that I had to disable the copy for the submitter. Would be ideal if there was a dedicated replyTo field for the notification copy.

noregt avatar Jan 02 '16 11:01 noregt

@noregt Yeah, there have been more requests for more customisation on the notifications end. I have to create something for that, but unfortunately, I have no release date for that right now.

hubertprein avatar Jan 04 '16 12:01 hubertprein

Okay, thanks for the information Ruben

noregt avatar Jan 04 '16 14:01 noregt

Hi. I thinking about switching to a&m forms on several sites because a&m Forms is by far the best form plugin for craft imho.

One of my dev colleages wrote a notification plugin for the standard p&t form plugin. Do you use the beforeSend event? Because if you do we could move the plugin to work for a&m forms as well.

kaspar-allenbach avatar Jan 19 '16 15:01 kaspar-allenbach

@kaspar-allenbach that would be great :)

robzor avatar Jan 19 '16 15:01 robzor

@kaspar-allenbach Our plugin uses its own events, so it's not triggering on beforeSend right now. Am I right to assume you want support for this event? Who's event is this? Because it's not in Craft's core.

hubertprein avatar Feb 05 '16 09:02 hubertprein

@hubertprein No I'd like to have this issue solved right in your plugin. Why have a plugin who builds on another plugin. The before send event comes from the p&t form plugin then. I thought that would be a craft feature.

kaspar-allenbach avatar Feb 05 '16 09:02 kaspar-allenbach

@kaspar-allenbach Fair enough. Then for now I'll have to refer to my answer given earlier regarding this topic here.

hubertprein avatar Feb 05 '16 10:02 hubertprein

Looks like this thread got hijacked, but I want to +1 the original concerns by @noregt... It would be extremely helpful if my client could hit "Reply" to actually reply to the person submitting the form.

lindseydiloreto avatar Feb 23 '16 23:02 lindseydiloreto

@lindseydiloreto You could do this: http://cl.ly/1z2n2u453E2t

hubertprein avatar Feb 24 '16 14:02 hubertprein

Thanks @hubertprein, that's exactly what we ended up doing. Feels more like a workaround than a proper solution though, correct? Or is this actually the official way to do it?

lindseydiloreto avatar Feb 24 '16 17:02 lindseydiloreto

@hubertprein I have a script that sends a copy to the submitter and sets the submitters reply address for the admin. If you want I can send it. (uses $email->fromEmail = $email->replyTo)

noregt avatar Feb 25 '16 11:02 noregt

@noregt Can you post a gist of that solution? For whatever reason, the previous workaround doesn't seem to be working any more. :(

Thanks!!

lindseydiloreto avatar Feb 25 '16 17:02 lindseydiloreto

@noregt I'd like to have this script as well :) :+1:

kaspar-allenbach avatar Feb 25 '16 19:02 kaspar-allenbach

@kaspar-allenbach, @lindseydiloreto This script works with the regular contactform from P&T (so NOT amforms), still pretty useful I hope https://gist.github.com/noregt/84910bdf647d23e0c752 In fact I made a repository: https://github.com/noregt/Contactform-Send-Copy

noregt avatar Feb 26 '16 14:02 noregt

@hubertprein I think that this issue can be closed now. Version 1.6.0 added this functionality :)

raymondelooff avatar Nov 11 '16 20:11 raymondelooff