Changing the sending email address for a form submission

Permalink
Hello everyone.

Could you help me find out how to change the sending email address for a form submission.

Many thanks

 
studio108 replied on at Permalink Best Answer Reply
studio108
Create a file named 'concrete.php' in application > config folder.

Use the code below in the concrete.php file but amend the 'name@emailaddress.com' email address to whatever you would like it to be.

<?php
return array(
    'email' => array(
        'form_block' => array(
              'address' => 'name@emailaddress.com'
        )
    ),
);


This works for me.
Petersewell replied on at Permalink Reply
Thank you so much. It worked.

Surely this should be a feature in the control panel of concrete 5?

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.