Created
March 4, 2016 13:13
-
-
Save codenameone/8229c1d4627ab3a1f17e to your computer and use it in GitHub Desktop.
Send an email via the Codename One cloud directly from the device
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Message m = new Message("<html><body>Check out <a href=\"https://www.codenameone.com/\">Codename One</a></body></html>"); | |
m.setMimeType(Message.MIME_HTML); | |
// notice that we provide a plain text alternative as well in the send method | |
boolean success = m.sendMessageViaCloudSync("Codename One", "[email protected]", "Name Of User", "Message Subject", | |
"Check out Codename One at https://www.codenameone.com/"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mime_html not working since 2016 !!!