VB.NET
VB.NET
Example: MailMan.FetchAll method
Demonstrates how to call the FetchAll method.Chilkat VB.NET Downloads
Dim success As Boolean = 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 = True
Dim headersOnly As Boolean = False
' numBodyLines only applies if downloading headers-only.
Dim numBodyLines As Integer = 0
success = mailman.FetchAll(keepOnServer,headersOnly,numBodyLines,bundle)
If (success = False) Then
Debug.WriteLine(mailman.LastErrorText)
Exit Sub
End If
' ...
' ...