Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Emails going to owner, not customer


dvmstore

Recommended Posts

I have searched on the forums for over 5 hours now and cant find anyone who had the same problem as me. Here it is... I am on a linux box and my site works fine except for the fact that when a customer places and order, the customer doesnt get a email confirmation. As the store owner I do, but the customer does not. Also, the send email feature under the tools section appears to work fine (that is I get a notice saying it has been sent) but my customers never receive an email. My customers also never receive an email when they register on my site as well.

 

Has anyone ever heard of a case where the store owner get orders emailed to him but the customers don't?

 

I have my setting set to sendmail and lf.

 

My site is www.dvmstore.com if anyone wants to setup a test account (I have COD option for demo purposes)

 

Racking my brain in Tampa Florida....

Link to comment
Share on other sites

My store is the same. E-mail to the owner no copy to the customer.

 

I origianlly got neither until I put the owner email in "other email to", then it worked.

 

I am using SMTP and so it isn't the host, though I originally thought it may be. :'(

Link to comment
Share on other sites

Because it sends the orders to only the names listed in "Send Extra Order Emails to", my thinking is that is has to be a coding issue and is either not pulling from the correct customer field in the customer table or the email page is not written correctly..

 

Any help please :'(

Link to comment
Share on other sites

Sorry, I hit send to fast. Here is the settings I found under Tools>Server Info>

 

 

sendmail_from no value no value

sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

 

Does anyone know if this appears correct?

Link to comment
Share on other sites

what settings have you got in the Admin Configuration Emails options? Mine are

E-Mail Transport Method sendmail

E-Mail Linefeeds LF

Use MIME HTML When Sending Emails false

Verify E-Mail Addresses Through DNS false

Send E-Mails true

Link to comment
Share on other sites

Hey Kym, et all...

 

My setting are the same

 

Sendmail

lf

false

false

true

 

Thats the weird thing. I get order emails sent to the address that setup under "Send Extra Emails..." under the my store configuration. But thats it. THe customer doesnt get emails and I dont get emails as the store owner...

 

This is why I think it must be a bug in the system or a coding error???

Link to comment
Share on other sites

You wouldn't get the emails as a store owner unless you put your address in the extra emails option, so that's ok. There must be a problem pulling the customer's emails from the database, or a problem with one of the files. Have you done any mods to your site? Have you tried replacing your current site with a fresh install of osc for a few minutes to test this function (extreme, but it can let you know if the problem lies within your store's code or not!)

 

Jeremy

Link to comment
Share on other sites

You wouldn't get the emails as a store owner unless you put your address in the extra emails option, so that's ok.  There must be a problem pulling the customer's emails from the database, or a problem with one of the files.  Have you done any mods to your site?  Have you tried replacing your current site with a fresh install of osc for a few minutes to test this function (extreme, but it can let you know if the problem lies within your store's code or not!)

 

Jeremy

 

I have taken my email out of the send to and it is in the send extra to fields. All the rest is configured correctly, but it doesn't seem to extract the customer email to send the confirmation email to.

 

I have looked with basic knowledge at the code but can't find one that sticks out as referring to taking the customers email. I am using smtp since thats all that seems to go.

 

DS :-"

Link to comment
Share on other sites

I have taken my email out of the send to and it is in the send extra to fields. All the rest is configured correctly, but it doesn't seem to extract the customer email to send the confirmation email to.

 

I have looked with basic knowledge at the code but can't find one that sticks out as referring to taking the customers email. I am using smtp since thats all that seems to go.

 

DS :-"

 

 

the mail function takes the email address from the order class instance :

 

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

 

so I would simply check what that contains with :

 

echo $order->customer['email_address'];

Treasurer MFC

Link to comment
Share on other sites

I think I found something...

 

Here is what I found under Admin > Tools > Server Info

 

sendmail_from no value no value

sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

 

 

Here is what I found under a site that is working correctly...Admin > Tools > Server Info

 

sendmail_from [email protected] [email protected]

sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

 

 

Noticeeverything is the same except for the value of sendmail_from

 

My value is "no value" while yours is [email protected]

Link to comment
Share on other sites

I think I found something...

 

Here is what I found under Admin > Tools > Server Info

 

sendmail_from no value no value

sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

Here is what I found under a site that is working correctly...Admin > Tools > Server Info

 

sendmail_from [email protected] [email protected]

sendmail_path /usr/sbin/sendmail -t -i  /usr/sbin/sendmail -t -i 

Noticeeverything is the same except for the value of sendmail_from

 

My value is "no value" while yours is [email protected]

 

well, I know that if sendmail_from is not defined in php.ini, nothing is send but I believe that is only so for windows servers. Still, if that was the problem, then no emails would be send.

Treasurer MFC

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...