why cannot an emulator send email in android

前端 未结 4 1689
别跟我提以往
别跟我提以往 2021-01-23 10:42

i looking for code to send an email from my android application. I have googled and read that the code that are given will not run on emulators. i will have to put the code on a

相关标签:
4条回答
  • 2021-01-23 11:28

    This migh be helpful Android Email Intent

    If you are using an emulator, you’ll need to configure the email client. If the email client is not configured, it will not respond to the Intent we’ll be discussing. If you want to see the chooser in action, you’ll need to configure a device using multiple messaging applications, such as the Gmail application and the Email application.

    But using a phone might be way better and easy for sure.

    0 讨论(0)
  • 2021-01-23 11:28

    Because the emulator does not have an email app. You'll have to install one.

    0 讨论(0)
  • 2021-01-23 11:29

    Because emulator is our virtual device is use only for testing purpose. and reason is emulator is not a valid IP address due to security purpose it is not send email by emulator.

    0 讨论(0)
  • 2021-01-23 11:36

    As the previous answers said, the emulator doesn't include any email application for security purposes. Nonetheless you can download one (k9mail, for example) and it will work without issues whatsoever.

    0 讨论(0)
提交回复
热议问题