Class SoMailCredentials
Info about server, username and password for e-mail authentication
Inherited Members
Namespace: SuperOfficeCRMMail
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class SoMailCredentials
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, bool)
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 |
| bool | 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 |
UseSSL
Secure connection
Declaration
public bool UseSSL { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Username
Name to authenticate with
Declaration
public string Username { get; set; }
Property Value
| Type | Description |
|---|---|
| string |