iPhone/Mac: forward SMS to email

With iPhone-580-90

I’ve finally been trying out Android lately, more specifically, trying out my OnePlus One. So, I’ve been looking for ways to keep my iPhone and OnePlus in sync regarding calls and SMSs. At least I’d like to have SMS to email forwarding on both devices. On Android there is Relay ME. On the iPhone, there are some pretty extensive solutions, but I was looking for something simple.

The Messages app on Yosemite can receive SMS messages, so an obvious idea was to have Messages forward incoming SMSs via its AppleScript library. Didn’t work. Instead I threw together a Bash script that simply parses the SMS sqlite database and forwards with sendmail. Should work out of the box – just replace the email address at the top and run it from cron like e.g.

*/5 * * * * /usr/local/bin/forward_sms.sh


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>