Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Display company name as Email sender

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 08-20-2012, 07:33 PM
  Raptor's Avatar 
Raptor Raptor is offline
 

Senior Member
  
Join Date: Jan 2006
Posts: 131
 

Default Re: Display company name as Email sender

still problems with 4.5.1 when using SMTP (although I can now add Company Name <name@mail.com> to the SMTP 'From' text box)

contact us page not working now(using SMTP mail) and dont receive any other emails

contact us page error is

"Your message could not be sent. Please contact the store admin. "
__________________
X-Cart Gold Plus v4.7.12
ReBOOT ReDUX Theme
Reply With Quote
  #22  
Old 03-15-2013, 01:19 AM
 
Bluemonk Bluemonk is offline
 

Advanced Member
  
Join Date: Apr 2010
Posts: 47
 

Default Re: Display company name as Email sender

How can I get this to work in 4.5.4. I made the code changes outlined in this thread but still cannot use the new format in the "from"email address box.

Thanks for your help
__________________
X-cart Gold V4.7, Ultra skin
Reply With Quote
  #23  
Old 07-29-2013, 09:34 PM
  Raptor's Avatar 
Raptor Raptor is offline
 

Senior Member
  
Join Date: Jan 2006
Posts: 131
 

Default Re: Display company name as Email sender

Doesn't work in 4.6.0 either

Come on Qualiteam.....
__________________
X-Cart Gold Plus v4.7.12
ReBOOT ReDUX Theme
Reply With Quote
  #24  
Old 08-26-2013, 08:19 AM
  Raptor's Avatar 
Raptor Raptor is offline
 

Senior Member
  
Join Date: Jan 2006
Posts: 131
 

Default Re: Display company name as Email sender

no answer?

__________________
X-Cart Gold Plus v4.7.12
ReBOOT ReDUX Theme
Reply With Quote
  #25  
Old 12-31-2013, 08:16 AM
  mcanitano's Avatar 
mcanitano mcanitano is offline
 

eXpert
  
Join Date: Feb 2006
Location: Melbourne, FL
Posts: 216
 

Default Re: Display company name as Email sender

Has this mod been updated to work on 4.5.5, or are there still the errors mentioned above?
__________________
Marcello Canitano
New Site: X-Cart v4.5.5 GOLD
X-Cart Mobile v1.4.3
X-Payments v1.0.6
CDSEO Pro v2
Total Server Solutions xCDN

www.silverhorseracing.com
Reply With Quote
  #26  
Old 02-05-2014, 07:59 AM
 
susilosaja susilosaja is offline
 

Advanced Member
  
Join Date: Feb 2013
Posts: 88
 

Default Re: Display company name as Email sender

I'm having the same problem. The fix doesn't work for 4.5.4.

Anyone found the fix?
__________________
Susilo
X-Cart 4.7.6 Gold Plus
Template : Ultra Responsive Template
Search module : Cloud Search
PHP 7
Reply With Quote
  #27  
Old 08-18-2014, 09:06 AM
  mcanitano's Avatar 
mcanitano mcanitano is offline
 

eXpert
  
Join Date: Feb 2006
Location: Melbourne, FL
Posts: 216
 

Default Re: Display company name as Email sender

Any update on this?
__________________
Marcello Canitano
New Site: X-Cart v4.5.5 GOLD
X-Cart Mobile v1.4.3
X-Payments v1.0.6
CDSEO Pro v2
Total Server Solutions xCDN

www.silverhorseracing.com
Reply With Quote
  #28  
Old 09-11-2014, 05:23 AM
 
xtech xtech is offline
 

X-Adept
  
Join Date: Jun 2010
Posts: 605
 

Default Re: Email Displays from Auto store Email

Quote:
Originally Posted by qualiteam
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.

I want to work it on 4.6 version.Can you please provide me codes for 4.6.x version?
__________________
X-cart Platinum
4.6.1
Reboot template
Reply With Quote
  #29  
Old 09-17-2014, 04:37 AM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: Display company name as Email sender

These patches have been uploaded

 show_company.diff
 show_company.sql
Attached Files
File Type: diff show_company.diff (5.3 KB, 115 views)
File Type: sql show_company.sql (235 Bytes, 111 views)
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote
  #30  
Old 09-17-2014, 05:27 AM
  mcanitano's Avatar 
mcanitano mcanitano is offline
 

eXpert
  
Join Date: Feb 2006
Location: Melbourne, FL
Posts: 216
 

Default Re: Display company name as Email sender

Quote:
Originally Posted by aim
These patches have been uploaded

 show_company.diff
 show_company.sql

Can you verify which XC versions these patches are compatible with?
__________________
Marcello Canitano
New Site: X-Cart v4.5.5 GOLD
X-Cart Mobile v1.4.3
X-Payments v1.0.6
CDSEO Pro v2
Total Server Solutions xCDN

www.silverhorseracing.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:12 AM.

   

 
X-Cart forums © 2001-2020