TomCavendish Posted November 9, 2005 Share Posted November 9, 2005 Anyone know how to add a 'cc' or 'bcc' email address to the 'contact us' page, so that the details are sent to 2 email addresses? Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 9, 2005 Share Posted November 9, 2005 Find the tep_mail line in contact_us.php, duplicate it and change the to address for the copy you made. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
TomCavendish Posted November 11, 2005 Author Share Posted November 11, 2005 I found this line in contact_us.php and duplicated it tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $HTTP_POST_VARS['enquiry'], $HTTP_POST_VARS['name'], $HTTP_POST_VARS['email']); But I'm not sure which bit to change :blink: Link to comment Share on other sites More sharing options...
Jack_mcs Posted November 11, 2005 Share Posted November 11, 2005 The first two entries are the to and the email fields so try tep_mail('Somebody', 'Sombody's email address', EMAIL_SUBJECT, $HTTP_POST_VARS['enquiry'], $HTTP_POST_VARS['name'], $HTTP_POST_VARS['email']); Note that the '' are reuired in this case. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
TomCavendish Posted November 11, 2005 Author Share Posted November 11, 2005 The first two entries are the to and the email fields so trytep_mail('Somebody', 'Sombody's email address', EMAIL_SUBJECT, $HTTP_POST_VARS['enquiry'], $HTTP_POST_VARS['name'], $HTTP_POST_VARS['email']); Note that the '' are reuired in this case. Jack Thanks that works. I had been trying it without the '. This is a handy tip as this lets you see (spy) what people have been saying via the contact us page when you don't have access to the main email address. :-" :thumbsup: Link to comment Share on other sites More sharing options...
mocax Posted April 13, 2006 Share Posted April 13, 2006 sorry to dredge this thing up... is there a function that allows appending cc and/or bcc? ie. instead of sending the message twice, it's sent once, and the recipient will see To: and Cc: in his email client. For now, do I need to control the email class directly to accomplish that? Link to comment Share on other sites More sharing options...
Guest Posted May 20, 2006 Share Posted May 20, 2006 Anyone know how to add a 'cc' or 'bcc' email address to the 'contact us' page, so that the details are sent to 2 email addresses? I thought that I read somewhere that this helps hackers send spam from your domain. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.