In WebConfig the documentation states:
EMAIL_FROM
'from' address for emails
EMAIL_FROM_NAME
'from' name for emails
PHP-Mailer respects these options; the internal php mail command does not:
email.inc (49-50):
if (defined('EMAIL_FROM')) {
$headers = "From: ". EMAIL_FROM;
should be:
if ( defined('EMAIL_FROM') && defined('EMAIL_FROM_NAME') ) {
$headers = "From: ".EMAIL_FROM_NAME."@".EMAIL_FROM;
Otherwise by specifying for example on host: "hostnumber1.com":
EMAIL_FROM - "hostnumber2.de"
EMAIL_FROM_NAME - "correct_username"
a password retrieval mail would be mailed to:
hostnumber2.de@hostnumber1.com
Revision is 14746