Form notification going to wrong email address

Permalink 2 users found helpful
I'm new to C5 so this is probably an easy setting change I'm overlooking, but here's my problem:

On my Contact Us page I have a Contact form. Within the Edit/Options tab I have "Notify me by email when people submit this form:" checked. Recipient Email is set to the appropriate email address. When a form is submitted, the notification email arrives at the correct recipient, but the "From" email address within the notification email is my address. Where is that coming from and how do I change it?

Thanks in advance for your wisdom.

Pixelfixer
View Replies: View Best Answer
defunct replied on at Permalink Best Answer Reply
defunct
Hi Pixelfixer,

You can open config/site.php

and add:

define('FORM_BLOCK_SENDER_EMAIL', [email protected]');


There you can define which email address the form comes from.
bryanlewis replied on at Permalink Reply
bryanlewis
Sweet, I didn't know you could adjust this from the config/site.php file... thanks for the information.
Pixelfixer replied on at Permalink Reply
Pixelfixer
Thanks defunct! This works!
platypusman replied on at Permalink Reply
platypusman
I have the same problem.

1.) Where is that email address coming from (the one that shows up in the "from" field)??

2.) Is there any way to make the from address be the address of the person sending the email? Seems like this is how it should work, no?

thanks.
curiousconcepts replied on at Permalink Reply
1. 'From' email come from the admin email address. which you can edit it in "Users & Groups'

2. I'm still looking for solution to make it work on that way as well..
sceva replied on at Permalink Reply
sceva
Is there any way to make the from address be the address of the person sending the email? Seems like this is how it should work, no?


Anyone have a fix for this? I have a client who gets frustrated because he always hits reply, forgetting he has to copy/paste the email address...
tlloyduk replied on at Permalink Reply
This doesn't seem to be right in the latest version of C5. Changing the admin email address does not change the default form recipient. Nor does adding the define in site.php as above.

Any other thoughts ? Where is this email address set?
mojoburns replied on at Permalink Reply
mojoburns
Thank you defunct... was going around in circles for a while with this one!