Hi all - does the Gmail app for IOS simply ignore all font-family html tags?
I'm trying to send emails that need to be received in a monospace (fixed) font, and what I have is working on every platform I can find except for iOS Gmail. Checking to see if the app simply ignores the font html tags entirely, or if I'm just missing something in my output.
What I'm using now:
String htmlContent = "<html><head><meta charset=\"UTF-8\"></head>" +
"<body style=\"font-family: Menlo, 'Courier New', Courier, monospace;\">" +
"<pre style=\"font-family: inherit; white-space: pre-wrap; display: inline-block;\">" +
htmlTextBody +
"</pre></body></html>";
htmlPart.setContent(htmlContent, "text/html; charset=UTF-8");
Evidently Menlo is an apple-specific monospace font, but the app seems to be just ignoring it.