Change concrete5-noreply@yourdomain.com

Permalink 4 users found helpful
Hey guys!

How to change the email validation email from address. Currently it is concrete5-noreply@...com.?

Thanks!

traisoon
 
Mnkras replied on at Permalink Best Answer Reply
Mnkras
in your site.php add a line like so:

define('EMAIL_DEFAULT_FROM_ADDRESS', 'concrete5-noreply@' . str_replace(array('http://www.', 'https://www.', 'http://', 'https://'), '', BASE_URL));


all that stuff at the end just grabs the url and removes the http and www, so you can remove it if you want
traisoon replied on at Permalink Reply
traisoon
Thanks dude!

I just changed it to

define('EMAIL_DEFAULT_FROM_ADDRESS', 'noreply@websitename.com');
kirbydawg replied on at Permalink Reply
where exactly is this site.php? I found one, but has no code like that.
kirbydawg replied on at Permalink Reply
nevermind...DUH! Worked great! Thanks
TorstenKelsch replied on at Permalink Reply
TorstenKelsch
[root]/config/site.php

And this code is not there by default, you have to add it manually.
RoyS replied on at Permalink Reply
RoyS
You can also set a name for the e-mail address:

define('EMAIL_DEFAULT_FROM_NAME', 'My Whiz-Bang Site');