I am using a shopping cart based on php and mysql. Orders are sent via sendmail to my email address. Is it possible that only sendmail fails, so that I won' t be notified of an order? How likely is this?
Can you prevent this from happening, like checking sendmail status - if down no order submission possible? Do you recommend this or will this lead to other problems (eg 50 % of my customers would not be able to order, because sendmail status shows downtime - I have often seen red lights on server status pages ...)?
Save the customer/order info to a database or flat file (as suggested above).
Your shopping cart code should be able to check for mail delivery success.
If the message was queued for delivery, it will be delivered when your mail system comes back online. This really only applies if something answers on port 25 (smtp). This is less applicable to mail originating from your own machine and more to another SMTP server sending yours messages.
Jeff Standen, Chief of R&D, WebGroup Media LLC. - LinkedIn Cerb is a fast and flexible web-based platform for business collaboration and automation. http://www.cerbweb.com/
Originally posted by cyberx I am using a shopping cart based on php and mysql. Orders are sent via sendmail to my email address. Is it possible that only sendmail fails, so that I won' t be notified of an order? How likely is this?
Very unlikely. If sendmail all-of-a-sudden stopped working, it would probably indicate a problem elsewhere with your system.
Personally, I would be more concerned about sending order information via email over untrusted networks.