Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contact Us - add cc ?


TomCavendish

Recommended Posts

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

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

 

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

  • 5 months later...

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

  • 1 month later...
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

Archived

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

×
×
  • Create New...