Changing the sign up admin email
Permalink
Quick question.
When making the website, I simply input my own email with the idea I'd change it later, but I can't find where to change it.
I googled the problem and saw I have to look for config/site.php but that hasn't been around since 5.7.
I know I have to add:
To a file, but I don't know which one?
In application/config I've got:
1. app.php
2. database.php
and two folders called:
1. doctrine
2. generated_overrides
Where can I edit the email I used when originally making the website?
When making the website, I simply input my own email with the idea I'd change it later, but I can't find where to change it.
I googled the problem and saw I have to look for config/site.php but that hasn't been around since 5.7.
I know I have to add:
define('EMAIL_DEFAULT_FROM_ADDRESS', 'demo@example.com');
To a file, but I don't know which one?
In application/config I've got:
1. app.php
2. database.php
and two folders called:
1. doctrine
2. generated_overrides
Where can I edit the email I used when originally making the website?
Hi ghoststalker195
The definition you found is for the older concrete5 version (5.6 and lower).
You can set your adress in application/config/concrete.php
Check this documentation page. There you find a code example for this under the first section (A).
https://documentation.concrete5.org/developers/sending-mail/configur...
best regards, typoman76
The definition you found is for the older concrete5 version (5.6 and lower).
You can set your adress in application/config/concrete.php
Check this documentation page. There you find a code example for this under the first section (A).
https://documentation.concrete5.org/developers/sending-mail/configur...
best regards, typoman76
Oh i missed one thing. If your don't want to touch some code you can use the handyman addon. This helps with configuration and provides an interface - not only for the mail-address.
https://www.concrete5.org/marketplace/addons/handyman/...
https://www.concrete5.org/marketplace/addons/handyman/...
Hi there Typo,
Thanks for the reply!
So there's no concrete.php file in application/config
I've made a new concrete.php file and added:
And tested it. However the mail I received was still under the old address.
Thanks for the reply!
So there's no concrete.php file in application/config
I've made a new concrete.php file and added:
And tested it. However the mail I received was still under the old address.
Hmm. I use this like you describe. And it works.
Have your cleared cache in concrete5?
You can use the search field to find the 'clear cache' function.
This could help to clean override cache.
typoman76
Have your cleared cache in concrete5?
You can use the search field to find the 'clear cache' function.
This could help to clean override cache.
typoman76
Afraid clearing the cache didn't help either.
I must've done something wrong somewhere.
Am I suppose to close the php tag at the end?
Or is that done in another file?
I must've done something wrong somewhere.
Am I suppose to close the php tag at the end?
?>
Or is that done in another file?
Can anyone help with this one?
It's probably (hopefully) a really easy answer, I just cannot find it.