![]() |
Quote:
Code:
$mail_from = $from;Code:
switch ($from) { |
Quote:
|
Quote:
Also, after a closer look there are two places to change. Both are in func.php for 4.0 and func.mail.php in 4.1. The functions within those files are func_send_mail and func_send_simple_mail. The changes for func_send_mail for the two different versions are posted above. For func_send_simple mail in either version look for this: Code:
else {Code:
else { |
Re: How to change the FROM name when xcart sends emails
Quote:
Hello, I tried all this...to no avail (nothing changed, newsletter test arriving ok but with just the email address, not the company's name). I have version X-Cart 4.1.9. Have any clues...? Thank you in advance for your answer, Cheers Philippe |
Re: How to change the FROM name when xcart sends emails
Just a note, on my x-cart version (4.2) there is a section with the variable $mail_from further up that geckoday's code worked perfectly on. Thanks Gecko!! Inexcusable X-cart doesn't do this already...
|
Re: How to change the FROM name when xcart sends emails
Just a note: You can use company_website to display the website name instead of company_name which displays the company name. It can be useful when the website has a different trading name the the customers are familiar with.
-Angelos |
| All times are GMT -8. The time now is 08:42 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.