MailClient.GetMailsByQueue Method


Retrieves emails by EAGetMail Service in background.

[Visual Basic]
Public Sub GetMailsByQueue( _
    server As MailServer _
    downloadFolder As String _
    leaveCopy As Boolean _
)
[C#]
public void GetMailsByQueue(
    MailServer server,
    string downloadFolder,
    bool leaveCopy
);
[C++]
public: void GetMailsByQueue(
    MailServer^ server,
    String^ downloadFolder,
    bool leaveCopy
);
[JScript]
public function GetMailsByQueue(
    server : MailServer,
    downloadFolder: String,
    leaveCopy: Boolean
);

Parameters

server
A MailServer instances to connect.
downloadFolder
The full path of local folder to save the retrieved emails. This folder MUST be existed.
leaveCopy
A bool value indicating whether EAGetMail delete the email from server after the email is retrieved. If this value is true, EAGetMail won't delete the email from the server.

Remarks

To learn more detail about GetMailsByQueue method, please refer to Work with EAGetMail Service section.

See Also

EAGetMail Service