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!!!!

malkau
 
hutman replied on at Permalink Reply
hutman
In your /application/config/generated_overrides/concrete.php you can add

'email' => array(
        'enabled' => true,
        'default' => array(
            'address' => 'DEFAULT_FROM_ADDRESS',
            'name' => 'DEFAULT_FROM_NAME'
        ),
        'form_block' => array(
            'address' => 'DEFAULT_FORM_ADDRESS'
        )
    ),
malkau replied on at Permalink Reply
malkau
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'
hutman replied on at Permalink Reply
hutman
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.
malkau replied on at Permalink Reply
malkau
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.