Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class SmtpClientFactory

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
SmtpClientFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Notification.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class SmtpClientFactory

Constructors

SmtpClientFactory()

Declaration
public SmtpClientFactory()

SmtpClientFactory(Func<ISmtpClient>)

Declaration
public SmtpClientFactory(Func<ISmtpClient> instanceFactory)
Parameters
Type Name Description
System.Func<ISmtpClient> instanceFactory

Properties

StaticFactory

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This is exposed mainly for testing purposes.

Declaration
public static Func<ISmtpClient> StaticFactory { get; set; }
Property Value
Type Description
System.Func<ISmtpClient>

Methods

GetSmtpClient()

Declaration
public virtual ISmtpClient GetSmtpClient()
Returns
Type Description
ISmtpClient

Extension Methods