![]()  | 
  
    Sphyrnidae Common Library
    2.0.1
    
   Shared Utilities/Library 
   | 
 
Base class for sending system emails More...
Public Member Functions | |
| void | SetName (string first, string last) | 
| Task< bool > | SendAsync () | 
| Sends the email  More... | |
Protected Member Functions | |
| EmailBase (IIdentityHelper identity, IEmail email) | |
Properties | |
| IIdentityHelper | Identity [get] | 
| IEmail | EmailImpl [get] | 
| abstract string | Subject [get] | 
| Subject (and HTML title) of the email  More... | |
| abstract string | Content [get] | 
| Email-specific content  More... | |
| virtual string | Name [get, set] | 
| Name of the user (If not provided, will default to identity name)  More... | |
| virtual string | Email [get, set] | 
| E-mail address of the user (If not provided, will default to identity email address)  More... | |
| abstract bool | ValidatePropertiesSet [get] | 
| Child classes must be able to specify if all the required properties have been set or not  More... | |
| virtual string | Shell [get] | 
Base class for sending system emails
To send a system email, inherit from this class and implement the abstract methods
      
  | 
  protected | 
| Task<bool> Sphyrnidae.Common.EmailUtilities.EmailBase.SendAsync | ( | ) | 
Sends the email
If 'Name' or 'Email' properties are not set, this will use the logged in user
| void Sphyrnidae.Common.EmailUtilities.EmailBase.SetName | ( | string | first, | 
| string | last | ||
| ) | 
      
  | 
  getprotected | 
Email-specific content
      
  | 
  getset | 
E-mail address of the user (If not provided, will default to identity email address)
      
  | 
  getprotected | 
      
  | 
  getprotected | 
      
  | 
  getsetprotected | 
Name of the user (If not provided, will default to identity name)
      
  | 
  getprotected | 
      
  | 
  getprotected | 
Subject (and HTML title) of the email
      
  | 
  getprotected | 
Child classes must be able to specify if all the required properties have been set or not