Class MessagePreprocessor
- Namespace
- Dynamicweb.Mailing
- Assembly
- Dynamicweb.Mailing.dll
public class MessagePreprocessor
- Inheritance
-
MessagePreprocessor
- Inherited Members
Methods
GetElements(string, string)
public static List<string> GetElements(string content, string element)
Parameters
Returns
GetElements(string, string, bool)
public static List<string> GetElements(string content, string element, bool requireAttribute)
Parameters
Returns
GetFirstIndexAfterBodyStart(string)
Gets first index after body html element in string content
public static int GetFirstIndexAfterBodyStart(string content)
Parameters
content
string- String content
Returns
- int
- Integer value representing position
Preprocess(Message, bool)
Preprocesses the specified Message. Preprocessing includes link manipulation and path correction.
public void Preprocess(Message message, bool isPreview)
Parameters
message
Message- The message.
isPreview
bool- Value indicating whether preprocessing a preview or not.
PreprocessContent(string, Message, bool)
Preprocesses the content. Preprocessing includes link manipulation and path correction.
public string PreprocessContent(string content, Message message, bool isPreview)
Parameters
content
string- The content.
message
Message- The message.
isPreview
bool- Value indicating whether preprocessing a preview or not.