Email to SMS

Hi everyone! I'm new to Arduino and I really need some help on my project.

The project consist different parts :

  1. Arduino MEGA receive an email from the email server
  2. Arduino MEGA will analyse the email and send to a handphone by using SMS

I already some sketches on receiving the email and sending the SMS to a phone but I'm really stuck on how to connect these two functions using Arduino MEGA.

Or anybody have ever try or doing this kind of project?

Thank you for your responses.

What email and SMS sketches are you using? I've done both, but not in the same sketch. Once you get both sketches working, it shouldn't be too difficult to combine them in a Mega.

thank u for your response SurferTim.

I'm using Arduino EmailPOP3 sketch to receive email and Arduino SendSMS sketch to send SMS with some configurations done.

I've tested both sketches and they work well separately. so, i need to know how to combine these two sketches to have a system email to SMS.

thank u!

Here are the sketches I would combine.
SMTP email client for sending SMS
POP3 email client for reading email

Some cellphone service providers have an email domain that can be used to send an SMS to a phone via email. For example Verizon uses (phone number)@vtext.com for text messages (SMS) and (phone number)@vzwpix.com for images and video (MMS). If your email system allows auto-forwarding you can skip the Arduino completely.

thank you for your response johnwasser!

actually the email system already had that email-forwarding function but the problem occurs during weekend, when there is nobody at the office and the system dont have enough credit to send a SMS.

that is why, if there is a system that can provide a service email to sms works perfectly especially during weekend.

thank u.