title: Programatically send SMS to email using Verizon Motorola Droid on Android
body: <p>I was wondering if anyone knew the proper way to send an SMS message to an e-mail address using Verizon's CDMA Motorola Droid phone. </p>
  
  <p>The internal messaging application appears to automagically do this. While 3rd party applications like SMSPopup don't seem to be able to properly reply to e-mail addresses unless you compose the message inside the messaging application. </p>
  
  <p>When the internal messaging application sends a SMS message there's a corresponding <code>'RIL_REQUEST_CDMA_SEND_SMS'</code> entry in the logcat (<code>adb logcat -b radio</code>). When you send a SMS to an e-mail address it prints the same thing, so behind the scenes it looks as though it is sending an sms. The interesting thing is that if you look at the content provider sent box the messages are addressed to various 1270XX-XXX-XXXX numbers.</p>
  
  <p>On other services you can send e-mail addresses by sending a SMS to a predefined short sms number. And then formatting your SMS as emailaddress subject message
  i.e. <a href="http://en.wikipedia.org/wiki/SMS_gateway#Carrier-Provided_SMS_to_E-Mail_Gateways" rel="nofollow noreferrer">http://en.wikipedia.org/wiki/SMS_gateway#Carrier-Provided_SMS_to_E-Mail_Gateways</a></p>
  
  <p>For example, using T-mobile's number (500) you can send a SMS to an e-mail using the following:</p>
  
  <pre><code>SmsManager smsMgr = SmsManager.getDefault();
  smsMgr.sendTextMessage("500", null, "username@domain.com message sent to an e-mail address from a SMS", null, null);
  </code></pre>
  
  <p>Does anyone know if </p>
  
  <ul>
  <li>It is possible to programatically send SMS to email messages from a CDMA Android phone?</li>
  <li>Does Verizon actually send your replies as SMS messages or are they actually sent as MMS or normal http email messages?</li>
  <li>Any ideas about how to intercept what the raw message being sent to see what's going on?</li>
  </ul>
  
  <p>It might be possible that Verizon somehow generates a fake number temporarily tied to an e-mail address (since repeated messages are not sent to the same number). But, that seems pretty heavy handed.</p>
  
  <p>Thanks!</p>