SaaS CMS has officially launched! Learn more now.

Class Network

Specifies network settings used for SMTP

Inheritance
System.Object
Network
Namespace: EPiServer.Framework
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public class Network : Object

Constructors

Network()

Declaration
public Network()

Properties

Host

Smtp network host

Declaration
public string Host { get; set; }
Property Value
Type Description
System.String

Password

Smtp password

Declaration
public string Password { get; set; }
Property Value
Type Description
System.String

Port

Smtp network port

Declaration
public Nullable<int> Port { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

UserName

Smtp username. Leave empty to disable authentication

Declaration
public string UserName { get; set; }
Property Value
Type Description
System.String

UseSsl

Should email client use ssl

Declaration
public Nullable<bool> UseSsl { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

Extension Methods