title: Send an email with pictures attached via adb shell
body: <p>I am doing the android test. And I need to know the way to use adb shell to run the test automatically. Does anyone know how to send an email with pictures attached via adb shell?
  like this:</p>
  
  <pre><code>am start -a android.intent.action.SENDTO -d sms:xxxx --es xxxxx
  </code></pre>
  
  <p>I would appreciate it if a complete example with subject and body is given.
  I have tried the following command, but it does not work.</p>
  
  <pre><code>-e stream "file:///sdcard/test.jpg" -t image/jpeg
  </code></pre>