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...
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...
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.
if your using 5.4.1, you can stick this in your site.php,
define('EMAIL_DEFAULT_FROM_ADDRESS', 'concrete5-noreply@blah.com');
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...
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).
and add:
<?php define('FORM_BLOCK_SENDER_EMAIL', 'email@domain.com');?>