Hello,
this thread did not help me. I make something similar to this. I create a Mail Event before my Client Event and want to send an HTML Mail with some information.
I build an html code for my mail and copy it (without any LineBreaks) in the Body of the Mail Event:
<table border=0 cellspacing=0 cellpadding=10pt width=623 style="border:solid #7F7F7F 1.0pt"><tr><td align="left" valign="center" style="background:#30659a;"><span style="font-size:17.0pt;font-family:Arial,sans-serif;color:white;"><br>Workflow Notification<br></span></td></tr><tr><td><table><tr><td rowspan="4" width="200"><img src="...gif" width="87" height="83" /></td><td width="100" style="font-size:10.0pt;font-family:Arial,sans-serif;color:#30659a;">Process</td><td width="100" style="font-size:9.0pt;font-family:Arial,sans-serif;color:#000000;"><a href="...ViewFlowMain.aspx?ProcessID=[ProcessID]">[ProcessName]</a></td></tr></tr><td style="font-size:10.0pt;font-family:Arial,sans-serif;color:#30659a;">Folio</td><td style="font-size:9.0pt;font-family:Arial,sans-serif;color:#000000;">[ProcessFolio]</td></tr><tr><td style="font-size:10.0pt;font-family:Arial,sans-serif;color:#30659a;">Customer</td><td style="font-size:9.0pt;font-family:Arial,sans-serif;color:#000000;">[Form-DisplayName]</td></tr><tr><td colspan="2" style="font-size:10.0pt;font-family:Arial,sans-serif;color:#30659a;">[Description]</td></tr></table></td></tr><tr><td> </td></tr><tr><td style="font-size:9.0pt;font-family:Arial,sans-serif;color:#000000;">You have tasks assigned to you. Please use the link below to action your task: <a href="..">My Worklist</a></td></tr><tr><td style="font-size:10.0pt;font-family:Arial,sans-serif;color:#30659a;background:#e5ecf2;height:60pt">Further information to MD-Workflows you find on the K2 [blackpearl] support side on Compass: <a href=".">Support</a></td></tr></table></td></tr></table>
Then I use the Context Browser and replace the [xxx] Parts with K2 fields.
The problem is, that this HTML-code is changed by K2 - someone, somewhere includes additional code - this additional code destroys my layout and make the used link unuseable.