Mail form changing from address4 users found helpful
Subject: contact form name
From: this is the original address that I need to change
define('FORM_BLOCK_SENDER_EMAIL ','[email protected]');
Marking answers helps other people in the future with the same problem.
J/K Mike! :p
( one of my nick names used to me Kras the Spaz, my lastname is Krasnow)
<?php define('DB_SERVER', 'xxxxxxxxx.db.1and1.com'); define('DB_USERNAME', "xxxxxxx"); define('DB_PASSWORD', 'xxxxxxx'); define('DB_DATABASE', 'xxxxxxxxx'); define('BASE_URL', 'http://www.xxxxxxxxxxxxxxxx.co.uk'); define('DIR_REL', ''); define('PASSWORD_SALT', 'xxxxxxxxxxxxxxxxxxxx'); define('FORM_BLOCK_SENDER_EMAIL ',[email protected]');
still no change in the e-mail sender... what am I doing incorrectly
define('EMAIL_DEFAULT_FROM_ADDRESS', '[email protected]');
Thanks for you help...
# concrete5 Version
Core Version - 18.104.22.168
Version Installed - 22.214.171.124
Database Version - 20150731000000
# concrete5 Packages
Palette (1.0.0), Styled Maps (1.2.1).
I cannot see any file in /application/config/concrete.php and, by the way, I´m not a programmer who knows how to do this modifications. Where in dashboard can I change "from" address?
There should be a 'concrete.php' file in there. Open it up in a plain text editor (e.g. Use notepad if on a PC, or Sublime Text if on a Mac)
you will probably see something like this:
This is a list (array) of configurations for the site. You may well have a bunch of other stuff in there as well - leave everything as it is, you just need to add in the snippet suggested above to the bottom of the array - so my example would be amended like this:
Make sure you replace '[email protected]' with your desired 'from' email address.
Hope this helps!
DO NOT EDIT THIS FILE DIRECTLY
What you want to do is create a file config/concrete.php like madesimplemedia said above with something like this in it:
<?php /* application/config/concrete.php - overrides for concrete/config/concrete.php */ return array( 'email' => array( // customize From: addresses 'default' => array( 'address' => [email protected]', // general emails 'name' => 'Domain Webmaster') ) 'form_block' => array('address' => [email protected]') // form emails ) };
It also helps to give more information - If you want to change it in code, please state what version of concrete5 you are asking about.
Otherwise, you can change the subject by editing the form block itself.
It seems that system is getting "address" from 2 different sources and send it as one thing.