I create a java class to compose an email from input Text. Generally users copy/paste text from Word or from Outlook.
To create my Message I use this code:
MailMessage message = MailMessage.load(
Often the styles (font color, font-size, text-formating) are respected but sometime my message is read as a Plain Text message and styles are not there.
Is there any idea you have about my problem or some best-practice I can use?