Android Question Send email with data in the body

SCIS

Active Member
Licensed User
Longtime User
How do I send an email with some text in the body and subject to an emailadress?
NO SMTP pleas but dim Mail as Email.
Then the code thanks
 
How can I send this email to [email protected] automatically? So the user of my application don't need to click on send andymore but when they press the button this email with the body is send to the email adress automatically?

Code: Copy
Dim Message As Email
Message.To.Add("[email protected]")
Message.Body = "Hello!!!"
Message.Subject = "Important message"
StartActivity(Message.GetIntent)
 
Upvote 0
send to the email adress automatically?
Use smtp to send it with your emailaccount or ask the user for his credentials and send it with smtp using his credentials then.
 
Upvote 0
Use smtp to send it with your emailaccount or ask the user for his credentials and send it with smtp using his credentials then.
But if I use smtp I need a mail server right? Can you give me a working example that I can change?
 
Upvote 0
Back
Top