title: send sms from gmail using python script
body: <p>I am trying to work for sending sms from gmail using python.
  I have tried many solutions but it didnt worked.
  I tried to use libgmail but seems to be deprecated. Even I am not able to find how to send sms from gmail to jawwal where as actually gmail sends free sms to jawwal.</p>
  
  <p>My code is:</p>
  
  <pre><code>import libgmail
  from TextMessaging import *
  sender = Sender(&lt;username&gt;, &lt;password&gt;)
  txtM = TextMessage(subject, body)
  receiver = Receiver("&lt;phone no&gt;", "Jawwal")
  sender.sendMessage(receiver, txtM)
  </code></pre>
  
  <p>in this, on sender it gives error as expected string or buffer<br>
  and for reciever, i dont know whats carrier for jawwal like    </p>
  
  <pre><code>CARRIERS = {"Alltel":"alltelmessage.com",  
              "ATT":"mobile.mycingular.com",  
              "Rogers":"pcs.rogers.com",  
              "Sprint":"messaging.sprintpcs.com",  
              "tMobile":"t-mobile.net",  
              "Telus":"msg.telus.com",  
              "Verizon":"vtext.com"}
  </code></pre>
  
  <p>Kindly give me on any information how to send sms to gmail using python script.</p>
  
  <p>Thanks</p>