View Single Post
  #15  
Old 08-19-2007, 01:51 AM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: send_to_friend feature to be a request additional info

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

you should remove
Code:
<INPUT id="send_to" type="hidden" size="45" name="email" value="{$config.Company.support_department}">
no point in sending the email address to the form when its predefined
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote