Class NSMailboxEntity
Constructors
NSMailboxEntity()
Declaration
NSMailboxEntity Methods
GetAddress()
Declaration
String GetAddress() Examples
NSMailboxEntity thing;
String address = thing.GetAddress();
Returns
| Type | Description |
| String | The address associated with this mailbox (used as FROM address when sending emails). |
GetMailInFilterId()
Declaration
Integer GetMailInFilterId() Examples
NSMailboxEntity thing;
Integer mailInFilterId = thing.GetMailInFilterId();
Returns
| Type | Description |
| Integer | The primary key (auto-incremented). |
GetPassword()
Declaration
String GetPassword() Examples
NSMailboxEntity thing;
String password = thing.GetPassword();
Returns
| Type | Description |
| String | The password used to log into the mail account. This is hidden when reading. |
GetPort()
Declaration
Integer GetPort() Examples
NSMailboxEntity thing;
Integer port = thing.GetPort();
Returns
| Type | Description |
| Integer | The port used to connect to the server. |
GetServer()
Declaration
String GetServer() Examples
NSMailboxEntity thing;
String server = thing.GetServer();
Returns
| Type | Description |
| String | The email server to connect to. |
GetServerType()
Declaration
Integer GetServerType() Examples
NSMailboxEntity thing;
Integer serverType = thing.GetServerType();
Returns
| Type | Description |
| Integer | The protocol to use (POP/IMAP). See <xref href="CRMScript.NetServer.MailboxType" data-throw-if-not-resolved="false"></xref> |
GetUsername()
\n
Declaration
String GetUsername() Examples
NSMailboxEntity thing;
String username = thing.GetUsername();
Returns
| Type | Description |
| String | nThe username used to log onto the mail account. |
SetAddress(String)
Declaration
Void SetAddress(String address) Examples
NSMailboxEntity thing;
String address;
thing.SetAddress(address);
Parameters
| Type | Name | Description |
| String | address | The address associated with this mailbox (used as FROM address when sending emails). |
Returns
| Type | Description |
| Void |
SetMailInFilterId(Integer)
Declaration
Void SetMailInFilterId(Integer mailInFilterId) Examples
NSMailboxEntity thing;
Integer mailInFilterId;
thing.SetMailInFilterId(mailInFilterId);
Parameters
| Type | Name | Description |
| Integer | mailInFilterId | The primary key (auto-incremented). |
Returns
| Type | Description |
| Void |
SetPassword(String)
Declaration
Void SetPassword(String password) Examples
NSMailboxEntity thing;
String password;
thing.SetPassword(password);
Parameters
| Type | Name | Description |
| String | password | The password used to log into the mail account. This is hidden when reading. |
Returns
| Type | Description |
| Void |
SetPort(Integer)
Declaration
Void SetPort(Integer port) Examples
NSMailboxEntity thing;
Integer port;
thing.SetPort(port);
Parameters
| Type | Name | Description |
| Integer | port | The port used to connect to the server. |
Returns
| Type | Description |
| Void |
SetServer(String)
Declaration
Void SetServer(String server) Examples
NSMailboxEntity thing;
String server;
thing.SetServer(server);
Parameters
| Type | Name | Description |
| String | server | The email server to connect to. |
Returns
| Type | Description |
| Void |
SetServerType(Integer)
Declaration
Void SetServerType(Integer serverType) Examples
NSMailboxEntity thing;
Integer serverType;
thing.SetServerType(serverType);
Parameters
| Type | Name | Description |
| Integer | serverType | The protocol to use (POP/IMAP). See <xref href="CRMScript.NetServer.MailboxType" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |