Android Programming - Send mail

前端 未结 2 707
青春惊慌失措
青春惊慌失措 2021-02-06 11:06

I\'m using the following piece of code in Android to send a mail:

 Intent emailIntent = new Intent(Intent.ACTION_SEND);
 emailIntent.setType(\"text/html\");
 ema         


        
2条回答
  •  迷失自我
    2021-02-06 11:53

    You can't send an email or sms using the built-in apps without user intervention. You have to use an external mail library like the other answer mentions.

提交回复
热议问题