Form send copy of email to customer

Permalink
Hi,
Is there any way to send copy of email to customer that has filled the form?

Thanks

OlliSavolainen
 
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
Unfortunately, there is no way to send a copy to the submitter.
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi OlliSavolainen,

I believe this can be done if you customize and copy the Form block and save it with a different name. It might be easier using an External Form block or single page though.

Form block
- In the controller, it looks like you could add code for sending a customer an e-mail copy in action_submit_form().
https://github.com/concrete5/concrete5/blob/develop/web/concrete/blo...
- In the form, there is a "Notify me by email when people submit this form (Seperate multiple emails with a comma)" field. The code that processes this field is in the controller and could be modified. This would include changing the parameters added to the e-mail using addParameter().
https://github.com/concrete5/concrete5/blob/develop/web/concrete/blo...
- The Form block uses the "block_form_submission" mail template. You would need to make a new mail template that matched your controller mail parameters.
https://github.com/concrete5/concrete5/blob/develop/web/concrete/mai...

More information on sending mail:
http://documentation.concrete5.org/developers/sending-mail/working-...
Eulalia replied on at Permalink Reply
Eulalia
What form are you using?