form block

Permalink
I used a form block. It doesn't give you the script, but it is automatically giving "myemail@mydoman.com" as the "from:" I tried to find the script on my server, but I can't see where to change this. Any help appreciated.

Thanks!

 
Remo replied on at Permalink Best Answer Reply
Remo
The form block uses the email address that is assigned to the admin user by default. You can either change this by specifying one field in the form block as the sender or by making a change in the config file.

To do this, you have to open config/site.php and insert a line like this:
define('FORM_BLOCK_SENDER_EMAIL', 'your@mail.address');
Remo replied on at Permalink Reply
Remo
You can also use EMAIL_DEFAULT_FROM_ADDRESS. This would override the default sender for all emails generated by concrete5.
damienparodi replied on at Permalink Reply
This worked perfect! ( FORM_BLOCK_SENDER_EMAIL )
Thanks!