I'm trying to send an email from my app, but I'm getting no mail (also not in spam folder) and no error. The code I use is like this:
Dim ei As Email
ei.To.Add("myemail@email.com")
ei.Body = "nice body"
ei.Subject = "the subject"
ei.Attachments.Add(mypath/myfile string variable)
Try
StartActivity(ei.GetIntent)
Catch
Log ("Error!")
End Try
Where I should begin to look for the problem?
thank you!
PS: I've tried without the attachment and also no luck.
Today It's working, I don't know why, I see now when I run the program I get the selector to choose the email client to send the mail with. I didn't expect that, it didn't appeared but today it does.
So, If it's not working, maybe turning the phone off and on will solve the problem.