I was wondering if there was a better way to push emails to my arduino.
Right now this is what happens:
- Email is received by Gmail and a copy if it is forwarded to an arbitrary email address.
- The forwarded copy is processed through my webhost and piped to a PHP program.
- The PHP program discards the email and uses cURL to send a POST command to the Arduino's ethernet shield telling it to check for mail.
- The Arduino checks a PHP page I have running that uses GmAtom to output the number of unread emails, which the Arduino displays on a serial LCD.