View Single Post
  #13  
Old 07-02-2007, 04:53 AM
 
Jerrad Jerrad is offline
 

X-Adept
  
Join Date: Nov 2004
Location: The Netherlands
Posts: 484
 

Default Re: send_to_friend feature to be a request additional info

Thanks for the advise, shafiq!

But I think I just solved it...

I changed my emailaddress into {$config.Company.support_department}, so it looks like this:
Code:
<INPUT id="send_to" type="hidden" size="45" name="email" value="{$config.Company.support_department}">

And in send_to_friend.php I changed
Code:
func_send_mail ($email, "mail/send2friend_subj.tpl", "mail/send2friend.tpl", $from, false); into func_send_mail ($config["Company"]["support_department"], "mail/querysub.tpl", "mail/queryap.tpl", $from, $query, $to, false);

Info requests will now be mailed to the help/support emailadress in Admin>General Settings>Company Options.

Seems to work fine...
Thanks again for trying to help!

Jerrad
__________________
X-Cart 4.0.12
Heavy modified with paid, free and forum mods.
PHP 5.2.5 | MYSQL 5.0.51a
Reply With Quote