Change email for user registration
PermalinkAny ideas?
Thanks,
Andrew
define('EMAIL_DEFAULT_FROM_ADDRESS', 'youraddy@yourdomain.com');
should do the trick.
I'm absolutely not sure if I got this correct, but:
FORM_BLOCK_SENDER_MAIL, will affect only form block? And if I recall correctly the block itself also had the option to define the email address...
Otherwise the address should be pulled from EMAIL_DEFAULT_FROM_ADDRESS. But here's the funny part: defining the default address will change the email for validation. But the 'forgot password' address will still be pulled from admin account, i mean what the f*k is up with that? Could be due to the fact that my current dev installation is anything but clean... ahh, who knows.
define('EMAIL_DEFAULT_FROM_NAME', 'Some Guy');
along with the 'EMAIL_DEFAULT_FROM_ADDRESS' setting.
I think this is the right one if the mail is coming from a form block.
In config/site.php add
This should deal with forms for you.
I think there is another way that can change the mail address from the Admin, I can dig it out for you if it's the one you need.
Hope that helps
Alex