API Reference
Class
EmailLibrary
Represents an email library containing only inline CSS. These libraries are tailored specifically for the restrictive environment of email clients and therefore do not include any external resources or JavaScript.
Inheritance
- Object
- EmailLibrary
Constructors
EmailLibrary 2 overloads
public EmailLibrary() #Initializes a new instance of the EmailLibrary class.
public EmailLibrary(String name, String version = "", String description = "") #Initializes a new instance of the EmailLibrary class with basic information.
Parameters
- name System.String
- The name of the library.
- version System.String = ""
- The version of the library.
- description System.String = ""
- The description of the library.
Methods
public EmailLibrary AddCss(String css) #Returns:
EmailLibraryAdds inline CSS to the library.
Parameters
- css System.String
- The CSS content to add.
Returns
The EmailLibrary object, allowing for method chaining.