Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

BCC for Tell a Friend email


Recommended Posts

Is it possible to add a BCC that would come to me when someone sends a Tell a Friend email? I'd like to know what items my visitors are recommending to others. I know nothing about PHP, so please forgive me if this seems utterly simple to you! I've looked through some books that I have and have tried a couple of things. I didn't break the pages but no email is being sent to the email I specified for the BCC.



Link to comment
Share on other sites



In tell_a_friend.php (about line 80), find:

tep_mail($to_name, $to_email_address, $email_subject, $email_body, $from_name, $from_email_address);

add immediately below it (change address to your address):

tep_mail($HTTP_POST_VARS['friendname'], '[email protected]', 'Tell A Friend', stripslashes($email_body), '', $from_email_address, '');


... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Link to comment
Share on other sites

have a look at the tell a friend too contribution this is what it does

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...