Class TicketMessageHelper
Inheritance
TicketMessageHelper
Assembly: SoDataBase.dll
Syntax
public static class TicketMessageHelper : Object
Methods
FindAndInsertInlineAttachments(String, Int32)
Declaration
public static void FindAndInsertInlineAttachments(string content, int ticketMessageId)
Parameters
Type |
Name |
Description |
String |
content |
|
Int32 |
ticketMessageId |
|
GetDefaultMessageContent(Int32, MessageActionType, Int32, Int32, Boolean)
Declaration
public static TicketMessageContent GetDefaultMessageContent(int ticketId, MessageActionType messageActionType, int ticketMessageId, int ticketTypeId = 0, bool skipSignature = false)
Parameters
Returns
Html2Text(String)
Create a plain text version of the html, suitable for email
Declaration
public static string Html2Text(string content)
Parameters
Type |
Name |
Description |
String |
content |
The html version
|
Returns
Type |
Description |
String |
The plain text version
|