How do you send an email or an SMS from the command-line?

Started by Oliwier, November 17, 2016, 07:04:54 PM

Previous topic - Next topic

Mikolaj

Hi all, I have a question that annoys me for a long time, how do you send an email or an sms from the command-line? Please give me an answer please Help.

Cruz

Yes, but you need an SMS Gateway account and use Curl.
Here's an example:

curl http://textbelt.com/text -d number=5551551555 -d "message=hello from OSXDaily.com"