How to Add Rich Formatting to Emails in Workflow

Modified on Thu, 14 Mar at 2:59 AM

When using the MAIL task command statement in LawMaster workflow, you are only able to add standard text into the message argument. 


If you wish to add some basic formatting to your emails generated from workflow, you may use simple HTML tags to your text.


Some common examples

FormattingText to include in the message argument of the MAIL statement
Example Output
BoldThis is how you set <b>bold words</b> in your emailThis is how you can set bold words in your email
ItalicsThis is how you set <i>words in italics</i> in your emailThis is how you can set words in italics in your email
UnderlineThis is how you can <u>underline</u> words in your emailThis is how you can underline words in your email.
HyperlinkVisit our <a href="https://www.lawmaster.com.au/">web site</a>Visit our web site
CombinationsThis part is <b><i><u>realy important</u<>/i></b>.This part is really important


Paragraphs


You might also find it neater to use HTML paragraph tags rather than including line feeds in you message argument, as once you start using any HTML tags, line spacing might not be what you expect. 


To do this, use the <p> tag around each paragraph and don't insert linefeeds between. For example:

<p>This is the <b>first<b>paragraph of the message,</p><p>This is the <b>second paragraph. </p>


Other formatting


It’s also possible to add tables and other formatting, however you will be able to find out more by searching online for more detailed HMTL learning resources. 


It is not possible to fully control an email’s HTML content via the MAIL statement, and different mail readers may display things slightly differently. You are best keeping your formatting as simple as possible.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article