I would like to add formatting to the body of an email using expo-mail-composer
.
However the email created is still showing the html tag <div>
in the body.
import * as MailComposer from 'expo-mail-composer';
const mailComposerOptions = {
isHtml: true,
body: `<div> Welcome !</div> `
}
function sendEmail() {
MailComposer.composeAsync(mailComposerOptions)
}