I am sending an EMail using GMail with the code below
Dim SendEMail As Email
SendEMail.To.Add("XXXXXXXXXXX@Live.com")
SendEMail.Body = "Database Rounds Updated"
SendEMail.Subject = "Database Rounds Updated"
SendEMail.Attachments.Add(File.Combine(File.DirRootExternal, cDatabase.DatabasePath(True)))
Try
Dim EMailIntent As Intent
EMailIntent = SendEMail.GetIntent
EMailIntent.SetComponent("com.google.android.gm/.ComposeActivityGmail")
StartActivity(EMailIntent)
Catch
StartActivity(SendEMail.GetIntent)
End Try
Everything works Semi Fine by Semi I mean, GMail Opens all the information is set properly but the user has to press the SEND key to actually send the Email.
Is there a way I can have the SEND key pressed? Can I do something using Reflector (need example if possible) to cause the SEND key in GMail to be pressed?
Also, is there a way to have this happen without GMail actually showing?
A couple of other notes: I tried using SMTP but that requires having a user id / password which I do not want and I do not want to ask and save this information from the user (do not want to be storing passwords if possible).
There must be a simple way of firing off the SEND key?
Thanks
BobVal