Report post You have 30 minutes to complete this form before the CAPTCHA will expire. Security image * Required field JavaScript is required to view this page. Either you do not have JavaScript enabled in your web browser, you do not have cookies enabled in your web browser, or this website is misconfigured such that cookies do not save correctly. This is a reported post for a post in the topic <input class="cms_keep_ui_controlled" size="45" title="[post param="New Setup - Digital Ocean Droplet"]320[/post]" type="button" value="post Comcode tag (dbl-click to edit/delete)" />, by jacobgkau<br /><br /><comcode-quote param="2"><comcode-quote param="Hawkeye">Making great progress. Now it's time to automate the streaming process.<br /><input class="cms_keep_ui_controlled" size="45" title="[snapback]319[/snapback]" type="button" value="snapback Comcode tag (dbl-click to edit/delete)" /></comcode-quote><br />Whoa, whoa, whoa, whoa, whoa… what happened to the droplet connectivity issue? What was the problem? How did you solve it? Was the web console helpful?<br /><comcode-quote param="Hawkeye">I want to send notification text messages to my android phone from different points in the body of the bash script upon failure of any part of the streaming process to assist in debugging while in the field. Under normal conditions in the field, the monitor will not be attached to the Odroid.<br />I was trying to use the curl command, but always get the message: " could not resolve host "<br />I’ve tested sending a message from my email to text to and from my android phone to email and it works flawlessly, so I know there is nothing wrong with the sms gateway.<br />Is there something missing in my Linux distro on the Odroid that is causing the command to fail, or do I simply have the command syntax incorrect.<br />curl 1234567890@txt.att.net “This is a test message”<br />also tried this:<br />curl 1234567890@mms.att.net “This is a test message”<br />Or is there simply a better way to send notifications other than the curl command……<br /><input class="cms_keep_ui_controlled" size="45" title="[snapback]319[/snapback]" type="button" value="snapback Comcode tag (dbl-click to edit/delete)" /></comcode-quote><br />Yeah, that's not what cURL is for… there are ways to send email with cURL, but it's usually used for downloading, not sending mail. If you read up on the syntax, you'll see that what you're doing doesn't really make sense: <a class="user_link" href="https://www.computerhope.com/unix/curl.htm" rel="nofollow noopener external" target="_blank" title="https://www.computerhope.com/unix/curl.htm (this link will open in a new window)">https://www.computerhope.com/unix/curl.htm</a><br />If you want to go the email-to-SMS route, I'd personally be using Sendmail or Postfix. Depending on if you have your Droplet all configured to send mail correctly, you might have an easier time using SSMTP and configuring it up to send email from an email account you have elsewhere. Here are some links that should get you started:<br /><a class="user_link" href="https://unix.stackexchange.com/questions/363814/simplest-way-to-send-one-line-mail-out-via-command-line-using-gmail" rel="nofollow noopener external" target="_blank" title="https://unix.stackexchange.com/questions/363814/simplest-way-to-send-one-line-mail-out-via-command-line-using-gmail (this link will open in a new window)">https://unix.stackexchange.com/questions/363814/simplest-way-to-send-one-line-mail-out-via-command-line-using-gmail</a><br /><a class="user_link" href="https://www.computerhope.com/unix/usendmai.htm" rel="nofollow noopener external" target="_blank" title="https://www.computerhope.com/unix/usendmai.htm (this link will open in a new window)">https://www.computerhope.com/unix/usendmai.htm</a><br /><a class="user_link" href="http://www.postfix.org/sendmail.1.html" rel="nofollow noopener external" target="_blank" title="http://www.postfix.org/sendmail.1.html (this link will open in a new window)">http://www.postfix.org/sendmail.1.html</a><br />If you told us what SMS gateway you're using, I would see what kind of APIs they have available… but email is probably going to be simplest for you to get set up.<br /></comcode-quote><br />//// PUT YOUR REPORT BELOW \\\\<br /><br /> Add: Add: Font Size Color [Font] Arial Courier Georgia Impact Times Trebuchet Verdana Tahoma Geneva Helvetica [Size] 0.8 1 1.5 2 2.5 3 4 [Color] Black Blue Gray Green Orange Purple Red White Yellow This is a reported post for a post in the topic [post param="New Setup - Digital Ocean Droplet"]320[/post], by jacobgkau [quote="2"] [quote="Hawkeye"] Making great progress. Now it's time to automate the streaming process. [snapback]319[/snapback][/quote] Whoa, whoa, whoa, whoa, whoa... what happened to the droplet connectivity issue? What was the problem? How did you solve it? Was the web console helpful? [quote="Hawkeye"] I want to send notification text messages to my android phone from different points in the body of the bash script upon failure of any part of the streaming process to assist in debugging while in the field. Under normal conditions in the field, the monitor will not be attached to the Odroid. I was trying to use the curl command, but always get the message: " could not resolve host " I’ve tested sending a message from my email to text to and from my android phone to email and it works flawlessly, so I know there is nothing wrong with the sms gateway. Is there something missing in my Linux distro on the Odroid that is causing the command to fail, or do I simply have the command syntax incorrect. curl 1234567890@txt.att.net “This is a test message” also tried this: curl 1234567890@mms.att.net “This is a test message” Or is there simply a better way to send notifications other than the curl command…… [snapback]319[/snapback][/quote] Yeah, that's not what cURL is for... there are ways to send email with cURL, but it's usually used for downloading, not sending mail. If you read up on the syntax, you'll see that what you're doing doesn't really make sense: [url="https://www.computerhope.com/unix/curl.htm"]https://www.computerhope.com/unix/curl.htm[/url] If you want to go the email-to-SMS route, I'd personally be using Sendmail or Postfix. Depending on if you have your Droplet all configured to send mail correctly, you might have an easier time using SSMTP and configuring it up to send email from an email account you have elsewhere. Here are some links that should get you started: [url="https://unix.stackexchange.com/questions/363814/simplest-way-to-send-one-line-mail-out-via-command-line-using-gmail"]https://unix.stackexchange.com/questions/363814/simplest-way-to-send-one-line-mail-out-via-command-line-using-gmail[/url] [url="https://www.computerhope.com/unix/usendmai.htm"]https://www.computerhope.com/unix/usendmai.htm[/url] [url="http://www.postfix.org/sendmail.1.html"]http://www.postfix.org/sendmail.1.html[/url] If you told us what SMS gateway you're using, I would see what kind of APIs they have available... but email is probably going to be simplest for you to get set up. [/quote] //// PUT YOUR REPORT BELOW \\\\ Use of this website implies that you agree to the website rules and privacy policy.