Quick question on how Concrete sends emails
Permalink
Some of my clients find the following annoying and was wondering if C5.5 gives us the option (or indeed 5.4.2)...
When someone fills out a contact form on the site, my client receives the email but it says its from his own email. They would prefer it if it said it was from the sender so they can just hit reply.
Is this possible?
Cheers
Chris
When someone fills out a contact form on the site, my client receives the email but it says its from his own email. They would prefer it if it said it was from the sender so they can just hit reply.
Is this possible?
Cheers
Chris
I am taking it we can't as I can find nothing on this.
You need to edit the controller of the form block to do this by default the form uses the user who creates the form. There is no option that I have seen change this but I generally just change out the from address to the user supplied one if filled out
I'll find the code I used, but now I tend to use a custom version of Jordan's Custom contact form which I find much easier to edit
I'll find the code I used, but now I tend to use a custom version of Jordan's Custom contact form which I find much easier to edit
Thanks. Thats what I thought had to be done. Will look at Jordan's form code.
Cheers
Chris
Cheers
Chris
I managed to sort it out for 5.4.4.2 (not tried any other)
If you change the controller.php for the form to the attached file, emails will come in from the users email address, not one set in the CMS.
If you change the controller.php for the form to the attached file, emails will come in from the users email address, not one set in the CMS.