This is possible, but a slight modification is required.
Here are instructions (for X-Cart 4.4.5):
1. alter the "include/func/func.core.php" script and replace this piece of code:
PHP Code:
return "^[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z](?:[a-z0-9-]*[a-z0-9])$";
with this one:
PHP Code:
return "^([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z](?:[a-z0-9-]*[a-z0-9]))|([A-z 0-9]{3,}[ ]{1}(<){1}[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z](?:[a-z0-9-]*[a-z0-9])(>){1})$";
2. alter the "admin/configuration.php" script and replace this piece of code:
PHP Code:
$trusted_post_variables = array(
'gpg_key',
'pgp_key',
'xpc_private_key_password',
'xpc_private_key',
'xpc_public_key',
'breadcrumbs_separator',
'wibiya_integration_code',
);
with this this one:
PHP Code:
$trusted_post_variables = array(
'gpg_key',
'pgp_key',
'xpc_private_key_password',
'xpc_private_key',
'xpc_public_key',
'breadcrumbs_separator',
'wibiya_integration_code',
'site_administrator',
'users_department',
'orders_department',
'support_department',
'smtp_mail_from',
);
To apply the modification the FTP/SSH access is required.
Once the modification is applied, you will be able to use the following e-mail format on the Company options page: Your Company Name <sales@yourstore.com>
That will make emails show Your Company Name as a sender.
NOTE:
additional changes are required in case X-Payments is used.