EMAIL_DEFAULT_FROM_NAME No Longer Working / Problematic
Permalink
Is it just me, or is the FROM name+email pretty much the most unpredictable piece of Concrete5?
I've used the following (in config/site.php) in the past, and it has mostly worked:
define('EMAIL_DEFAULT_FROM_NAME', 'EXAMPLE.com');
define('EMAIL_DEFAULT_FROM_ADDRESS', 'website@example.com');
define('FORM_BLOCK_SENDER_EMAIL', 'website@example.com');
I'm referring to standard c5 form block email notifications here.
It seems like every other update, it stops working, and defaults to my personal admin address. This is extremely unfavorable, as these are websites for my clients, and I really don't want their form submissions looking like they're from me.
This last update (5.6.3.1) seems to have broken things again. I can get as far as the from -address- working, but the from -name- no longer works.
===
1.) If things have changed, what is now the proper method of setting these? (And better yet, can we have a back-end GUI setting for these at some point?
2.) What is the difference between 'EMAIL_DEFAULT_FROM_ADDRESS' and 'FORM_BLOCK_SENDER_EMAIL'?
I've used the following (in config/site.php) in the past, and it has mostly worked:
define('EMAIL_DEFAULT_FROM_NAME', 'EXAMPLE.com');
define('EMAIL_DEFAULT_FROM_ADDRESS', 'website@example.com');
define('FORM_BLOCK_SENDER_EMAIL', 'website@example.com');
I'm referring to standard c5 form block email notifications here.
It seems like every other update, it stops working, and defaults to my personal admin address. This is extremely unfavorable, as these are websites for my clients, and I really don't want their form submissions looking like they're from me.
This last update (5.6.3.1) seems to have broken things again. I can get as far as the from -address- working, but the from -name- no longer works.
===
1.) If things have changed, what is now the proper method of setting these? (And better yet, can we have a back-end GUI setting for these at some point?
2.) What is the difference between 'EMAIL_DEFAULT_FROM_ADDRESS' and 'FORM_BLOCK_SENDER_EMAIL'?
What's the difference? EMAIL_DEFAULT... is part of the actual mail function and used by many different things, add-ons etc.
FORM_BLOCK_SENDER_EMAIL is only used by the form block, but since there's no FORM_BLOCK_SENDER_NAME, I doubt it works as intended.
About the UI: Certainly possible, but that would probably have to be a discussion for 5.7. Not my call though.