Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Emails not been sent


Oh_Dear!

Recommended Posts

Posted

Hi

 

For some reasons emails are not being sent from my contact us form OR after an order is completed. I have changed the settings in the admin area from STMP to Sendmail to no effect. Where can you change the path or check to see if it correct for sendmail.

 

Cheers!

Posted

Just an update. I can send emails without any dificulty through the mailing list in the admin panel. Surely it uses the same email.php in the classes folder. Does it?

Posted
Just an update. I can send emails without any dificulty through the mailing list in the admin panel. Surely it uses the same email.php in the classes folder. Does it?

 

I have the same problem. The order notification email does not get sent.

 

Please help.

 

David

Ebaby.ca - Toothbrush.ca - Halitosis.ca - Templatemonster.ca - Adultfriendfinders.ca

Posted

I just noticed that the form will work if you leave the name field BLANK! If you enter any text it says its sent but it doesnt go.

 

SOMEONE must have an answer to this!

Posted
SOMEONE must have an answer to this!

 

Seems nobody had this experiencs. and ME me me, i also face this problems. I can send the mail through admin email function. But as a merchant, i can not receive any order notification.

 

I'm doing a demo purchase, after the purchase it will link back to my site's success order page. And i noticed that the items is still in the shopping cart. It seems haven't update to the database so our oscommerce never know an order has been made. I just know this theory, but i don't know how to solve it. I also need helps.

 

Be clarify something weird. Last few days(monday), when i do a demo purchase in the morning. As a merchant we can receive the order notification from 1)payment gateway and 2)my site. While a customer can also receive an mail say 'you has successful make an order'.

 

Then, i don't know what is happening. When my friends do another demo purchasing at the afternoon. Just after 6 hours, He claims that he can not recevei the mail from my site. And he JUST receive the mail from payment gateway. In addition, as i said just now, the items is still in the shopping cart.

 

Hope all my explanation make sense. And someone help us.

I would greatly appreciated. Thank.

 

Smithveg

****

Hello World! ^.^ I'm a Internet naive. Browse my working profile

Malaysia Web Services - OPerion Website Marketing System

Posted
Seems nobody had this experiencs. and ME me me, i also face this problems. I can send the mail through admin email function. But as a merchant, i can not receive any order notification.

 

I'm doing a demo purchase, after the purchase it will link back to my site's success order page. And i noticed that the items is still in the shopping cart. It seems haven't update to the database so our oscommerce never know an order has been made. I just know this theory, but i don't know how to solve it. I also need helps.

 

Be clarify something weird. Last few days(monday), when i do a demo purchase in the morning. As a merchant we can receive the order notification from 1)payment gateway and 2)my site. While a customer can also receive an mail say 'you has successful make an order'.

 

Then, i don't know what is happening. When my friends do another demo purchasing at the afternoon. Just after 6 hours, He claims that he can not recevei the mail from my site. And he JUST receive the mail from payment gateway. In addition, as i said just now, the items is still in the shopping cart.

 

Hope all my explanation make sense. And someone help us.

I would greatly appreciated. Thank.

 

Smithveg

 

 

PHP5 upgrade?

Regards

 

Mark A Reynolds

Posted
PHP5 upgrade?

 

Easy say that but how can you do that if you are not the hosting provider?

 

Anyway, I sorted the problem out. I asked my ISP to look in the php.ini file for a problem. They couldnt see anything so then send me a copy (I actually know them fairly well). In the php.ini I had to set the default 'from' smtp address even though it's not used in the actual email. Really is a bug in OSCommerce as it should account for it not being set.

 

Maybe 'smithveg' should contact your ISP and make sure this is not left empty.

Posted
Easy say that but how can you do that if you are not the hosting provider?

 

Anyway, I sorted the problem out. I asked my ISP to look in the php.ini file for a problem. They couldnt see anything so then send me a copy (I actually know them fairly well). In the php.ini I had to set the default 'from' smtp address even though it's not used in the actual email. Really is a bug in OSCommerce as it should account for it not being set.

 

Maybe 'smithveg' should contact your ISP and make sure this is not left empty.

 

I was reffering to your webhost upgrading to php5..?

 

Good you sorted it - If anyone reads this and you have not got access to the php.ini file then create your own and put into the root of your store with the values for your smtp server and hope no-one else gets your email address??

Regards

 

Mark A Reynolds

Posted
I didnt realise you could put the php.ini file into the root folder of the store. Thats a very handy tip! Thanks!

 

your welcome

Regards

 

Mark A Reynolds

Posted

I found my problem, many people said so but I didn't believe until I tried. It is my host, for the last 2 weeks, without any notification they decided to desiable php mail() function. They told me that too many account were sending spam mail on the server so they cut it off. Not from even my accounts. I was wondering why I wasn't getting any more orders from my ecommerces.

 

From now on, I have to let them know if one of my site will be using a php mail form so they can allow the folder it is in to send mail. It is just insane. Hosting from Midphase.

 

I thought I had found the best hosting company ever, no problem for years, never down and quick support but that killed me.

 

Check it out with your hosting company, I bet that's the problem.

 

I hope it helps, and if you know of a reliable reseller host company, please let me know. I can't cope with this shit.

 

 

David

Ebaby.ca - Toothbrush.ca - Halitosis.ca - Templatemonster.ca - Adultfriendfinders.ca

  • 2 weeks later...
Posted

Many posts are throughout the forum now with this problem.

 

Firstly - you can't put THE php.ini file in your root - you put A php.ini file into your root IF you have phpsuexec installed on the server.

 

If so, you need to create a text file and save it as php.ini.

 

Place this content into the file:

 

register_globals = On

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

 

 

Save it and stick a copy in both your admin and root folders.

 

Your site will now work and so will all your emails again.

 

I found this out by inspecting my own php.ini files on my apache server (we just did a rebuild with the latest software inc' phpsuexec installed now) and both .ini files had the sendmail commented out!

 

So, the process is not to get the host to edit his server script but initiate the sendmail path in your own directory

Posted

Hi thanks for the info. In my case, it was the hosting company's fault. They had disabled php() mail.

 

So it could still be the same problem for some others.

 

David

Ebaby.ca - Toothbrush.ca - Halitosis.ca - Templatemonster.ca - Adultfriendfinders.ca

Archived

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

×
×
  • Create New...