Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help With TEP MAIL


Waza04

Recommended Posts

Hiya!!

 

I am working on a upgrade for some of my mods - involving emailing!!

 

However, I have never used the tep mail function, so ca somebody shed some light?

 

I have the following set-up, but when it proceses it - the email doesnt get sent to the SMTP server...

 

$email_customer_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_id = '" . $order_restore['customers_id'] . "'");

$email_customer = tep_db_fetch_array($email_customer_query);



// mail report

tep_mail($email_customer['customers_firstname'] . " " . $email_customer['customers_lastname'], $email_customer['customers_email_address'], 'SUBJECT HERE', 'BODY TEXT HERE', STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

Thanks,

Warren

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...