Hi,
I have a project that uses an Arduino & a WiShield to connect to my home network.
This then sends me an email via a PHP page at regular intervals like twice a day.
The email contains a timestamp.
Sometimes I don't get the email until hours later, but it always has the right timestamp.
The PHP page is on a server on the Internet, not inside my home.
What would cause the email to be delayed for hours?
Is this a PHP or server issue?
Just be sure that you hide the url to that page... sending mail via php is very risky without input sanitation... You could have your script co-opted as a spambot....
not sure if this is connected, but i am kinda having the same problem. i have a telnet server set up on the arduino and when a specific command is sent to it, it sends a get command to the php site which the php site then uses to compare against a mysql page which then sends out an email to a specific address...anyhow the problem i'm having is that i run the command, email goes out, run it again and email goes out, third time and on, connection to the php server fails and nothing goes out. maybe this is your problem as well, maybe the connection is failing and then later going out again once the connection is re-established. just a thought
Thanks for the suggestions.
I don't think the problem is establishing a connection as the timestamp is correct.
Probably a server issue which I can do nothing about.
What is the proper way to hide the URL?