Class EmailNotificationProvider
  
  
  
  
    Inheritance
    System.Object
    EmailNotificationProvider
   
  
  
  Assembly: EPiServer.dll
  Version: 12.0.3
  Syntax
  
    [ServiceConfiguration]
public class EmailNotificationProvider : Object, INotificationProvider, INotificationProviderStatus
   
  Constructors
  
  
  
  
  EmailNotificationProvider(ISmtpClient, NotificationOptions)
  
  
  Declaration
  
    public EmailNotificationProvider(ISmtpClient smtpClient, NotificationOptions options)
   
  Parameters
  
  Properties
  
  
  
  
  DisabledReason
  
  
  Declaration
  
    public string DisabledReason { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  
  
  
  IsDisabled
  
  
  Declaration
  
    public bool IsDisabled { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  ProviderName
  
  
  Declaration
  
    public string ProviderName { get; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  Methods
  
  
  
  
  CreateMailMessage(ProviderNotificationMessage)
  
  
  Declaration
  
    protected virtual MimeMessage CreateMailMessage(ProviderNotificationMessage providerNotificationMessage)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | MimeKit.MimeMessage |  | 
    
  
  
  
  
  
  
  
  Declaration
  
    public NotificationFormat GetProviderFormat()
   
  Returns
  
  
  
  
  SendAsync(IEnumerable<Task<ProviderNotificationMessage>>, Action<ProviderNotificationMessage>, Action<ProviderNotificationMessage, Exception>)
  
  
  Declaration
  
    public virtual Task SendAsync(IEnumerable<Task<ProviderNotificationMessage>> waitableMessages, Action<ProviderNotificationMessage> succeededAction, Action<ProviderNotificationMessage, Exception> failedAction)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Threading.Tasks.Task |  | 
    
  
  Implements
  
  
  Extension Methods