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

looking for mail file....

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-21-2007, 01:13 AM
 
luxor luxor is offline
 

Senior Member
  
Join Date: Apr 2007
Posts: 120
 

Default looking for mail file....

Hi I'm looking for the file(s) that would control the insert of the to / from / subject fields etc into the mail function for x-cart.

In other words, I'm looking for the file for which I can change the "from" email address that is being inserted for order notifications and tell a friend.

As by default, the order notifications and send to friends are being sent from the email address of the customer / person emailing their friends address, which is causing spam folder issues since the domain of the website is not matchign the customers.
__________________
v4.1.8 GOLD
Reply With Quote
  #2  
Old 10-22-2007, 04:06 AM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default Re: looking for mail file....

For the Sendtofriend feature look in send_to_friend.php for the following:

$result = func_send_mail ($email, "mail/send2friend_subj.tpl", "mail/send2friend.tpl", $from, false);

I think $from contains the email address so change it to the email address you want.


For order notifications, I haven't been able to find the coding (yet!)
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:47 AM.

   

 
X-Cart forums © 2001-2020