File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,21 @@ $mailer = Swift_Mailer::newInstance();
1414$mailer->registerPLugin(new CssInlinerPlugin());
1515```
1616
17+ You can set custom parameters by providing your own CssToInlineStyles object. Like this
18+
19+ ``` php
20+ use TijsVerkoyen\CssToInlineStyles\CssToInlineStyles;
21+
22+ $mailer = Swift_Mailer::newInstance();
23+
24+ $converter = new CssToInlineStyles();
25+ $converter->setUseInlineStylesBlock(FALSE);
26+
27+ $mailer->registerPLugin(new CssInlinerPlugin($converter));
28+ ```
29+
1730## License
1831
1932Copyright (c) 2013, OpenBuildings Ltd. Developed by Ivan Kerin as part of [ clippings.com] ( http://clippings.com )
2033
21- Under BSD-3-Clause license, read LICENSE file.
34+ Under BSD-3-Clause license, read LICENSE file.
You can’t perform that action at this time.
0 commit comments