| C# | |
|---|---|
public static string MailConfirm( string timeoutSec, string login, string pass, string server, int port, bool useSSL, bool useHTML, bool useIMAP, bool removeMessages, string identityRegExp, string parserRegExp, int machNum ) | |
Parameters
- timeoutSec
Type: System.String
Timeout specified in seconds. Three in a row above the number recorded by ";".
- login
Type: System.String
The login for mail.
- pass
Type: System.String
The password for mail.
- server
Type: System.String
The mail server.
- port
Type: System.Int32
The server port.
- useSSL
Type: System.Boolean
true if use SSL; otherwise, false.
- useHTML
Type: System.Boolean
true if parse HTML; otherwise, false.
- useIMAP
Type: System.Boolean
true if use IMAP; otherwise, false.
- removeMessages
Type: System.Boolean
true if remove messages; otherwise, false.
- identityRegExp
Type: System.String
The regular expression to identify email.
- parserRegExp
Type: System.String
The regular expression for select the contents of email.
- machNum
Type: System.Int32
Number of match.
Return Value
Type: System.String
The result of processing emails.
| C# | Copy Code |
|---|---|
var res = ZennoPoster.MailConfirm("15;30;60", {email}, {password}, {server}, {port}, true, true, true, false, {identityRexExp}, {parseRegExp}, 0); | |
| PHP | Copy Code |
|---|---|
$res = ZennoPoster::MailConfirm("15;30;60", {email}, {password}, {server}, {port}, true, true, true, false, {identityRexExp}, {parseRegExp}, 0); | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family