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
contentstring- 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
messageMessage- The message.
 isPreviewbool- 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
contentstring- The content.
 messageMessage- The message.
 isPreviewbool- Value indicating whether preprocessing a preview or not.