Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I send a e-mail to the customer after they send a inquiry on contact us?


jasyn

Recommended Posts

Posted

I'm trying to modify my contact us page so that it sends a e-mail to the customer saying that we will get back to them within 24 hours.

 

Going through the contact_us.php I figure I could add another tep_mail code to send the message, but how?

 

tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, $enquiry, $name, $email_address);

 

The fields there are already in place.

Posted
tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, 'we will get back to them within 24 hours', $name, $email_address);

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Posted

tep_mail(STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_SUBJECT, 'we will get back to them within 24 hours', $name, $email_address);

 

yah but that sends to the store owner. i need it to send to the person who's using the contact us page. so i need to send it to the e-mail that was provided in the e-mail field.

Posted

The first two entries are the persons name and email address so it would be something like

tep_mail('John Smith', 'jsmith@[member='aol'].com', EMAIL_SUBJECT, 'we will get back to them within 24 hours', $name, $email_address);

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

Posted

yah but that sends to the store owner. i need it to send to the person who's using the contact us page. so i need to send it to the e-mail that was provided in the e-mail field.

 

Sorry,

 

tep_mail($name, $email_address, EMAIL_SUBJECT, 'we will get back to them within 24 hours', STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Posted

The first two entries are the persons name and email address so it would be something like

tep_mail('John Smith', 'jsmith@[member='aol'].com', EMAIL_SUBJECT, 'we will get back to them within 24 hours', $name, $email_address);

 

well seeing as it's coming from the contact us page .. i'd like to pull the fields .. how do i do that? you've inserted the name & e-mail manually?

Posted

Is an email needed? There is a message telling them that their message was sent successfully. "Your enquiry has been successfully sent." You can change it to read "24 hours", add a picture, or whatever here: /includes/languages/english/contact_us.php

 

personally I'd rather not get an email other than the one actually replying to my enquiry as I already know when I hit send it told me it was sent

 

further, if by chance you don't get back in 24 hours, who's gonna look bad?

Web Developer, Firebug, and Notepad++ are powerful free tools for web design.

Archived

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

×
×
  • Create New...