Class SoMailCredentials
Info about server, username and password for e-mail authentication
Namespace: SuperOffice.CRM.Mail
Assembly: SoDataBase.dll
Syntax
public class SoMailCredentials : Object
Constructors
SoMailCredentials()
Default constructor
Declaration
public SoMailCredentials()
SoMailCredentials(String, String, String)
Constructor with default values
Declaration
public SoMailCredentials(string server, string username, string password)
Parameters
Type | Name | Description |
---|---|---|
String | server | Mail server to connect to. Port may be specified by adding ':[port]' to the server string. |
String | username | Name to authenticate with |
String | password | Password for username |
SoMailCredentials(String, String, String, Boolean)
Constructor with default values
Declaration
public SoMailCredentials(string server, string username, string password, bool useSSL)
Parameters
Type | Name | Description |
---|---|---|
String | server |
|
String | username | Name to authenticate with |
String | password | Password for username |
Boolean | useSSL | Should we use ssl |
Properties
Password
Password for Username
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
String |
Server
Mail server to connect to. Port may be specified by adding ':[port]' to the server string.
Declaration
public string Server { get; set; }
Property Value
Type | Description |
---|---|
String |
Username
Name to authenticate with
Declaration
public string Username { get; set; }
Property Value
Type | Description |
---|---|
String |
UseSSL
Secure connection
Declaration
public bool UseSSL { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Extension Methods
EnumUtil.MapEnums<From, To>(From)