Sample code for 30+ languages & platforms
Xojo Plugin

Example: MailMan.FetchAll method

Demonstrates how to call the FetchAll method.

Chilkat Xojo Plugin Downloads

Xojo Plugin
Dim success As Boolean
success = False

success = False
Dim mailman As New Chilkat.MailMan

// Setup mailman with POP3 server and login settings...
// ...
// ...

Dim bundle As New Chilkat.EmailBundle
Dim keepOnServer As Boolean
keepOnServer = True
Dim headersOnly As Boolean
headersOnly = False
// numBodyLines only applies if downloading headers-only.
Dim numBodyLines As Int32
numBodyLines = 0

success = mailman.FetchAll(keepOnServer,headersOnly,numBodyLines,bundle)
If (success = False) Then
    System.DebugLog(mailman.LastErrorText)
    Return
End If

// ...
// ...