<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1043787" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1043787</link>
    <description></description>
    <language>en</language>
          <item>
    <title>I just found myself coming</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail#comment-1280943</link>
    <description> &lt;p&gt;I just found myself coming back to this page after a couple of years away. Nice piece of code and this it&#039;s still valid today.&lt;/p&gt;
 </description>
     <pubDate>Mon, 08 Oct 2012 17:26:08 +0000</pubDate>
 <dc:creator>hhunt</dc:creator>
 <guid isPermaLink="false">comment 1280943 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Send sms via HTTP request,</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail#comment-1252717</link>
    <description> &lt;p&gt;Send sms via HTTP request, sample url: &lt;a href=&quot;http://adforte.com/jovi.member.app-user-commands?action=send&amp;amp;user=youruser&amp;amp;password=yourpas&amp;amp;phone=+12345678&amp;amp;sender=yourcompany&amp;amp;text=test%20message&quot; title=&quot;http://adforte.com/jovi.member.app-user-commands?action=send&amp;amp;user=youruser&amp;amp;password=yourpas&amp;amp;phone=+12345678&amp;amp;sender=yourcompany&amp;amp;text=test%20message&quot;&gt;http://adforte.com/jovi.member.app-user-commands?action=send&amp;amp;user=yourus...&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SMS Gateway URL HTTP SMPP &lt;a href=&quot;http://www.adforte.com&quot; title=&quot;http://www.adforte.com&quot;&gt;http://www.adforte.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Aug 2010 21:55:23 +0000</pubDate>
 <dc:creator>adforte</dc:creator>
 <guid isPermaLink="false">comment 1252717 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thanks guys, this looks very</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail#comment-1248110</link>
    <description> &lt;p&gt;Thanks guys, this looks very cool. I will try and run it when I get home to see if works for me as well.&lt;br /&gt;
Nice for posting it.&lt;/p&gt;
 </description>
     <pubDate>Wed, 31 Mar 2010 09:50:03 +0000</pubDate>
 <dc:creator>hhunt</dc:creator>
 <guid isPermaLink="false">comment 1248110 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>haha - I don&#039;t even own a</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail#comment-1241256</link>
    <description> &lt;p&gt;haha - I don&#039;t even own a cell phone &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/tongue.png&quot; title=&quot;Sticking out tongue&quot; alt=&quot;Sticking out tongue&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;thinking about getting the G1, sometime&lt;/p&gt;
&lt;p&gt;people ask me, &quot;How do you live without a cell phone?&quot;&lt;/p&gt;
&lt;p&gt;I answer, &quot;In peace.&quot; &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 03 May 2009 19:59:25 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1241256 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I wish it was that easy.
If</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail#comment-1241251</link>
    <description> &lt;p&gt;I wish it was that easy.&lt;/p&gt;
&lt;p&gt;If you are using the Clickatell script:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Sign up for an account on Clickatell&lt;/li&gt;
&lt;li&gt;Buy text messages&lt;/li&gt;
&lt;li&gt;Sign up for the HTTP api&lt;/li&gt;
&lt;li&gt;Put your authentication info in the function header:&lt;br /&gt;
&lt;code&gt;def send(text, to = &amp;quot;13605555555&amp;quot;, send_as = &amp;quot;13605555556&amp;quot;, user = &amp;quot;your_username&amp;quot;, password = &amp;quot;your_password&amp;quot;, api_id = &amp;quot;your api key&amp;quot;):&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Put your script somewhere on your server.&lt;/li&gt;
&lt;li&gt;Chmod it so it can be executed: chmod 700 /path/to/sms.py&lt;/li&gt;
&lt;li&gt;Try it: /path/to/sms.py &quot;my message&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you are using the Gmail script:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Find your cell provider&#039;s email to SMS email address. ATT&#039;s is: &lt;a href=&quot;mailto:10_digit_phone_number@txt.att.net&quot;&gt;10_digit_phone_number@txt.att.net&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Put your gmail authentication info in the function header:&lt;br /&gt;
&lt;code&gt;def send(body, to = &amp;quot;3605555555@txt.att.net&amp;quot;, username = &amp;quot;john@gmail.com&amp;quot;, password = &amp;quot;my password&amp;quot;):&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Put your script somewhere on your server.&lt;/li&gt;
&lt;li&gt;Chmod it so it can be executed: chmod 700 /path/to/gmail.py&lt;/li&gt;
&lt;li&gt;Try it: /path/to/gmail.py &quot;my message&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And of course, it only works if you have Python (Debian has it by default, other distros probably do too)&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;where should I put sms.py ?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;You can put it anywhere on your server. In my home directory, I created a directory called &quot;bin&quot; that is in my $PATH variable. I can call gmail.py anywhere on the command line. If you don&#039;t put the script in your $PATH, then you always have to call the script with &quot;./gmail.py&quot; or &quot;/path/to/gmail.py&quot;&lt;/p&gt;
 </description>
     <pubDate>Sun, 03 May 2009 18:08:00 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1241251 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>excuse a question from a</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail#comment-1241245</link>
    <description> &lt;p&gt;excuse a question from a Python n00b (yes, believe it or not, I don&#039;t know &lt;em&gt;everything&lt;/em&gt; &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt; )&lt;/p&gt;
&lt;p&gt;so if I put this code in a file named sms.py on my server I can then send a SMS from PuTTY using SSH?&lt;/p&gt;
&lt;p&gt;where should I put sms.py ?&lt;/p&gt;
 </description>
     <pubDate>Sun, 03 May 2009 15:53:18 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1241245 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>The only problem with</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail#comment-1241226</link>
    <description> &lt;p&gt;The only problem with finding the email address is that you can&#039;t really tell what it is just by looking at the phone number.  You need the site users to select their cell provider as well, and then have a data set that can match the email domain with the provider list.&lt;/p&gt;
 </description>
     <pubDate>Sun, 03 May 2009 11:40:03 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1241226 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Even better, use Gmail as</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail#comment-1241221</link>
    <description> &lt;p&gt;Even better, use Gmail as your mail server, and use your provider&#039;s free gateway:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#!/usr/bin/env python&lt;br /&gt;import sys&lt;br /&gt;import smtplib&lt;br /&gt;&lt;br /&gt;def send(body, to = &amp;quot;3605555555@txt.att.net&amp;quot;, username = &amp;quot;john@gmail.com&amp;quot;, password = &amp;quot;my password&amp;quot;):&lt;br /&gt;&amp;nbsp; mail_server = smtplib.SMTP(&amp;quot;smtp.gmail.com&amp;quot;, 587)&lt;br /&gt;&amp;nbsp; mail_server.ehlo()&lt;br /&gt;&amp;nbsp; mail_server.starttls()&lt;br /&gt;&amp;nbsp; mail_server.ehlo()&lt;br /&gt;&amp;nbsp; mail_server.login(username, password)&lt;br /&gt;&amp;nbsp; mail_server.sendmail(username, to, body)&lt;br /&gt;&amp;nbsp; mail_server.close()&lt;br /&gt;&lt;br /&gt;if __name__ == &amp;#039;__main__&amp;#039;:&lt;br /&gt;&amp;nbsp; argc = len(sys.argv)&lt;br /&gt;&lt;br /&gt;&amp;nbsp; # first argument is the text message&lt;br /&gt;&amp;nbsp; if argc == 2:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; send(sys.argv[1])&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # arguments are a text message and an email&lt;br /&gt;&amp;nbsp; elif argc == 3:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; send(sys.argv[1], sys.argv[2])&lt;br /&gt;&amp;nbsp; else:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print &amp;#039;Usage: gmail.py &amp;quot;Text message&amp;quot; &amp;quot;[phone number as email]&amp;quot;&amp;#039;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 03 May 2009 02:30:00 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1241221 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>The only thing is that I</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail#comment-1241219</link>
    <description> &lt;blockquote&gt;&lt;p&gt;The only thing is that I don&#039;t like the services that charge for SMS messages. I just usually use the email address that it tied to the number.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;That&#039;s a good idea. I thought I would have to install a mail server on the machine to do that. But I just realized you could create a simple HTTP request to a mailing script on &lt;em&gt;another&lt;/em&gt; machine that has mailing services. Now I spent $20 for nothing &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/plain.png&quot; title=&quot;Plain&quot; alt=&quot;Plain&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I think it&#039;s a total ripoff to pay between $.05 and $.20 for a few bytes of data transfer too. I can&#039;t wait for the day when SMS is free.&lt;/p&gt;
 </description>
     <pubDate>Sun, 03 May 2009 02:06:00 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1241219 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Cool, I will have to look</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/send-sms-python-shell-clickatell-gmail#comment-1241218</link>
    <description> &lt;p&gt;Cool, I will have to look into that API.  The only thing is that I don&#039;t like the services that charge for SMS messages.  I just usually use the email address that it tied to the number.  Most if not all providers have &lt;a href=&quot;mailto:1234567890@provider.com&quot;&gt;1234567890@provider.com&lt;/a&gt; as an option, which is what I use when I set up alert systems for my own use.&lt;/p&gt;
 </description>
     <pubDate>Sun, 03 May 2009 01:42:43 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1241218 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
