Android Send Email (w/ Username and Password authentication) with android.content.Intent.ACTION_SEND?

CommonsWare got to it before me but what he/she said. :D Basically ACTION_SEND is simply a 'generic' send intent(ion) and that's the point of the chooser. Example...if I pick a contact on my phone to send email to, I get a choice of using a 'Mail' app (SMTP/POP3/IMAP4) or the GMail app.In either case, I've configured these apps with username/password details and where necessary, the incoming/outgoing server details needed In short, username/password are useless as ACTION_SEND doesn't explicitly know which outgoing server those details apply to From what I can tell, you want to automate this entirely which suggests you need to create your own SMTP client code which you can pass username/password and server details along with the message.

CommonsWare got to it before me but what he/she said. :D Basically ACTION_SEND is simply a 'generic' send intent(ion) and that's the point of the chooser. Example...if I pick a contact on my phone to send email to, I get a choice of using a 'Mail' app (SMTP/POP3/IMAP4) or the GMail app.In either case, I've configured these apps with username/password details and where necessary, the incoming/outgoing server details needed.

In short, username/password are useless as ACTION_SEND doesn't explicitly know which outgoing server those details apply to. From what I can tell, you want to automate this entirely which suggests you need to create your own SMTP client code which you can pass username/password and server details along with the message.

However, I do not know whether ACTION_SEND can accept username and password as well. No, it does not, nor should it. The email client must have an email account configured.

I am trying to send an email to a specific address by using my own email. So far, I know that I can use android.content.Intent. ACTION_SEND to send an email.

However, I do not know whether ACTION_SEND can accept username and password as well. This username and password basically will be used to authenticate the email sender. It's just like when you need to log-in into your gmail account before you can compose and send an email to someone.

Do you guys by any chance know any solution/guide to do this?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions