we're building a webshop that will serve as a kiosk on a fair. The fair visitors stop by and order some things at the shop. We'll have some Tablets where the visitors can shop through our kiosk and order some stuff.
Hardware: we'll have a local server, so the website is locally available (like a local domain, or an IP). This server will also act as an access point. So the tablets connect via wifi to the server where the Shop is running.
This shop needs to send the order emails to the customers. It will work for sure if we have some internet connection.
But what happens if the internet connection is lost?
What would happen to the emails being sent without an internet connection? Is there some kind of email backlog that starts to send the emails when we regain the connection or will the send process just stop and the emails are gone?
We need to get sure that all order emails are sent properly at some time, even if the server loses the connection for some minutes or hours.
Some ideas:
- if we have an internet connection then send the mail (normal behavior).
- If we don't have an internet connection just let the mail on the send queue for later.
- If we reestablish the connection, send the emails waiting in the queue.
I need to know how systems handle those emails and which part of the system is responsible for the needed email queue (Windows? Linux? The webserver? The used software(WordPress)? ).
I appreciate your thoughts and answers.
Best regards Wellington