Quote:
Originally Posted by tahirfayyaz
I have changed it but still no luck
Where do I change company name to appear in email from field?
|
In 4.1 they changed the variable name from $m_from to $mail_from. So for 4.1 look for:
Code:
$mail_from = $from;
and replace it with this:
Code:
switch ($from) {
case $config["Company"]["users_department"]:
case $config["Company"]["site_administrator"]:
case $config["Company"]["orders_department"]:
case $config["Company"]["support_department"]:
case $config["Company"]["newsletter_email"]:
$mail_from = $config["Company"]["company_name"].'<'.$from.'>';
break;
default:
$mail_from = $from;
}