Android Question Send email with the built in gmail account

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Hi all.
I have figured out how to send email with the SMTP in the Net lib.
But how does one send email with the GMAIL account that is already associated with the device.

Thanks
 

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Trying to get away from the user doing anything.
All the information for GMAIL is there (if the user has said it up)
and when using SMTP I have to have the user re-enter the same information again.

So its how does one send an email using the account info already in the tablet...
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
If you want to use the user's email you could create a "settings" screen and ask the user to fill that out, then, before using the SMTP lib you access that file, and do what you need to do, the user will only set his/her email info once. I would not suggest grabbing the GMail account arbitrarily since the user might want to use a different email address.
 
Upvote 0

JakeBullet70

Well-Known Member
Licensed User
Longtime User
I have the settings screen now that gets that info.
Its the users who are asking why they have to fill that out as they have already set up there email.
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
You will have to explain that to them, but believe me, if you use their GMail account they will still complain that they cannot change their email LOL, like I said, some people do use a different email address sometimes.
 
Upvote 0
Top