Email generated by Form Block shows wrong email address in the from line

Permalink
Hi, I'm using the Form Block for a contact us function, but the email generated after a submission shows a wrong email address on the from: line.

I must have made a mistake when I first set up the website, but now I don't know how to change it. The block options allow me to change the email address it is sent to, but not the email it is sent from.

Maybe I have to change this somewhere else in admin settings? if so, where?

View Replies: View Best Answer
Remo replied on at Permalink Best Answer Reply
Remo
concrete5 will use the admin's mail address unless you've specified something different.

Either change the admin's mail address or insert this line in config/site.php:

define('FORM_BLOCK_SENDER_EMAIL', [email protected]');
RPMAutomotive replied on at Permalink Reply
Thanks, I will do that then.

Just out of curiosity, how do I change the admin's mail address? The address is already close to the one I want to use, just that there is a typo in there that would be nice to correct.
Remo replied on at Permalink Reply
Remo
Simply go to the dashboard, search users, pick admin and edit anything you want to change.
RPMAutomotive replied on at Permalink Reply
Thank you, this is good to know too.
Wanhaonki replied on at Permalink Reply
Wanhaonki
Is this still valid information? I cant find site.php anywhere.