Contructor that intializes the platform for the supplied mail server.
Namespace: MailAttachmentDownloaderApiAssembly: MailAttachmentDownloaderPlatform (in MailAttachmentDownloaderPlatform.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public MailAttachmentDownloaderPlatform( string host, int port, string username, SecureString password, bool useTLS, bool isImap, bool saveCredentials ) |
Parameters
- host
- Type: System..::..String
Mail server host
- port
- Type: System..::..Int32
Mail server port
- username
- Type: System..::..String
Username of the type "gear@gmail.com"
- password
- Type: System.Security..::..SecureString
Password in a SecureString
- useTLS
- Type: System..::..Boolean
Whether to use TLS or not
- isImap
- Type: System..::..Boolean
Set to true if this is an IMAP server or false if this server is a POP3 server.
- saveCredentials
- Type: System..::..Boolean
Set to true to save credentials in Windows Credentials Manager. See http://msdn.microsoft.com/en-us/library/aa374792(v=vs.85).aspx for more information.