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
 

SCIS

Active Member
Licensed User
Longtime User
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?

B4X:
Dim Message As Email
Message.To.Add("[email protected]")
Message.Body = "Hello!!!"
Message.Subject = "Important message"
StartActivity(Message.GetIntent)
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
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

SCIS

Active Member
Licensed User
Longtime User
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
Top