|All requests||>||SMS Messages to Email||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Roch Guillot - 7 years ago (2015-09-02)
How do I get SMS Messages to email?
Using an open source Android SMS Gateway App which is described in the documentation, you will be able to send and receive SMS using your Android phone with this simple PHP class. Data are stored in a flat-file structure, and some examples are provided. Receiving messages and status can by handled by callback functions that you define yourself. Implement the callback function when receiving messages and send an email (for example using the PHPMailer class), and you will be done !
You can configure your mobile phone to forward messages by email.
On Android you can use an app like SMS@Email to do that for you.
On iPhone you can configure your settings in Messages then Recieve At, and then use Add An Email below.
Then in PHP you can use this class to parse messages received for instance in a POP3 mailbox.