public class BotocssMailContentProcessor extends Object implements MailContentProcessor
<style>
tags in to the appropriate elements as inline
style attributes.
This is largely for compatibility with Gmail and a few other email clients
which do not parse stylesheet links or HTML <style>
tags.
The <style>
tags annotated with a
delete-email-style class attribute will also get removed from the
document post-injection. This is in order to reduce the outcoming size of the
mail as Gmail enforces a mail size of lower than 102kB by clipping the mail
on its default view.
Constructor and Description |
---|
BotocssMailContentProcessor() |
Modifier and Type | Method and Description |
---|---|
String |
process(String input)
Take the supplied input data and process it in some fashion, returning the result.
|
public String process(String input)
MailContentProcessor
process
in interface MailContentProcessor
input
- the content to be processed.Copyright © 2003–2016 Atlassian. All rights reserved.