Class MailHelper
Assembly: SoCore.dll
Syntax
public static class MailHelper : Object
Methods
ExceptionIsAuthFail(Exception, Boolean)
Checks if an exception is considered an authentication exception.
Declaration
public static bool ExceptionIsAuthFail(Exception ex, bool strict = false)
Parameters
Returns
GetBodyContent(String)
Strip everything but what is inside
If the body tags are not found, everything is returned
Declaration
public static string GetBodyContent(string text)
Parameters
Type |
Name |
Description |
String |
text |
|
Returns
GetCleanHtmlBody(String, Boolean)
Strip everything but what is inside
Strip scripts
Optionally remove references to external images
Declaration
public static string GetCleanHtmlBody(string text, bool appendCustomStyle)
Parameters
Returns