I wanted to add some additional formatting to messages sent as HTML and found the plugin is able to pass along in-line css formatting. For example, in one case I wanted to turn off text wrapping. This is easily done.
- Code: Select all
message_text = "<p style="white-space:nowrap;">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</p>"