Visual Basic 6.0
Visual Basic 6.0
Example: MailMan.FetchAll method
Demonstrates how to call the FetchAll method.Chilkat Visual Basic 6.0 Downloads
Dim success As Long
success = 0
success = 0
Dim mailman As New ChilkatMailMan
' Setup mailman with POP3 server and login settings...
' ...
' ...
Dim bundle As New ChilkatEmailBundle
Dim keepOnServer As Long
keepOnServer = 1
Dim headersOnly As Long
headersOnly = 0
' numBodyLines only applies if downloading headers-only.
Dim numBodyLines As Long
numBodyLines = 0
success = mailman.FetchAll(keepOnServer,headersOnly,numBodyLines,bundle)
If (success = 0) Then
Debug.Print mailman.LastErrorText
Exit Sub
End If
' ...
' ...