Email from, not an email address

Permalink
Hi,
When an enquiry is sent using a form the from field in the email automatically uses the address used in the admin. We have a client who wants the from field to say something like Company Support rather than an email address, does anybody know if this is possible?
(I am using the Extended Form, not the standard form block)

Thanks in advance...

 
cssninja replied on at Permalink Best Answer Reply
cssninja
Open config/site.php
and add:
<?php define('FORM_BLOCK_SENDER_EMAIL', 'email@domain.com');?>
oakleafg replied on at Permalink Reply
Thanks for the reply, tried it but it doesn't seem to make any difference. Maybe it's because i'm using the Extended Form block rather than the standard block.
Mnkras replied on at Permalink Reply
Mnkras
if your using 5.4.1, you can stick this in your site.php,
define('EMAIL_DEFAULT_FROM_ADDRESS', 'concrete5-noreply@blah.com');
envisage replied on at Permalink Reply
envisage
This did not work for me. I placed it in the site.php file at the end of the list of defaults and the email still comes from the admin email...
jordanlev replied on at Permalink Reply
jordanlev
Are you using the built-in form block or the "Extended Form" block? If you're using the "Extended Form" block you should post this to that addon's support forum (click the "Support" link in the sidebar of its marketplace page).