London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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: 10.10.4
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