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