where do I edit EMAIL_DEFAULT_FROM_ADDRESS in 5.7?
Permalink
Used to edit this in site.php but this file doesn't exist in latest c5.
Where can I find the equivallent of this in 5.7?
Thanks!!!!
Where can I find the equivallent of this in 5.7?
Thanks!!!!
In your /application/config/generated_overrides/concrete.php you can add
Hmm. Just tried this and didn't work.
Obviously, replacing DEFAULT_FROM_ADDRESS and DEFAULT_FROM_NAME with the email address and name.
e.g.,
'address' => 'no-reply@domain.com.au',
'name' => 'No Reply'
Obviously, replacing DEFAULT_FROM_ADDRESS and DEFAULT_FROM_NAME with the email address and name.
e.g.,
'address' => 'no-reply@domain.com.au',
'name' => 'No Reply'
After doing that, did you clear the cache (even if it is off) and logout of the CMS as the admin user? I had to do both of those things before the change took affect, but it did after that.
Nope, but found out what it was.
Was using the second last version of C5.7.
concrete\blocks\form\controller.php had code still using FORM_BLOCK_SENDER_EMAIL.
The latest version has this fixed.
Was using the second last version of C5.7.
concrete\blocks\form\controller.php had code still using FORM_BLOCK_SENDER_EMAIL.
The latest version has this fixed.