Click or drag to resize
EmailProvider Class
Extensible provider for basic e-mail capabilities that is used internally in the e-mail engine.
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractBaseProviderEmailProvider
    CMS.EmailEngineEmailProvider

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 9.0.0
Syntax
C#
public class EmailProvider : AbstractBaseProvider<EmailProvider>

The EmailProvider type exposes the following members.

Constructors
  NameDescription
Public methodEmailProvider
Top
Methods
  NameDescription
Protected methodOnSendCompleted
Raises the SendCompleted event after the send is completed.
Protected methodSendEmailAsyncInternal
Internal method that asynchronously sends an e-mail through the SMTP server.
Protected methodSendEmailInternal
Internal method that sends an e-mail through the SMTP server.
Public methodSetAsDefaultProvider
Sets this object as the default provider
(Inherited from AbstractBaseProviderProviderType.)
Top
Events
  NameDescription
Public eventStatic memberSendCompleted
Occurs when the send operation finishes.
Top
Remarks
This provider does not offer any methods that can be called directly. To send e-mails using API, use methods from EmailSender class. Asynchronous send methods of this provider cannot be called from the main UI thread.
See Also