Android App Development: How to get Google Gmail account credentials to send email without user intervention

StackOverflow https://stackoverflow.com/questions/22181550

  •  05-06-2023
  •  | 
  •  

質問

I'm trying to create an android Application, that send email automatically

I dont want user to enters gmail or password, that use default gmail account in his android device to send email automatically... if there is any full example or any thing help me...

役に立ちましたか?

解決

This is not possible, sorry. You can use ACTION_SEND and ACTION_SENDTO to send emails without account credentials, but that requires user intervention. Or, you can use JavaMail to send email without user intervention, but then you will need all of the SMTP server information and email account credentials.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top