title: Programmatically send text message on Android
body: <p>I using "sendTextMessage" in android SDK to send message programmatically. But the sent message doesn't show up in the outbox.</p>
  
  <pre><code>public void sendSMS() {
      String phoneNumber = "0123456789";
      String message = "Hello World!";
  
      SmsManager smsManager = SmsManager.getDefault();
      smsManager.sendTextMessage(phoneNumber, null, message, null, null);
  }
  </code></pre>
  
  <p>Is there any other flag for adding the message to the outbox?</p>