Class POP3ExportMbox

java.lang.Object
org.apache.commons.net.examples.mail.POP3ExportMbox

public final class POP3ExportMbox extends Object
This is an example program demonstrating how to use the POP3[S]Client class. This program connects to a POP3[S] server and writes the messages to an mbox file.

The code currently assumes that POP3Client decodes the POP3 data as iso-8859-1. The POP3 standard only allows for ASCII so in theory iso-8859-1 should be OK. However it appears that actual POP3 implementations may return 8bit data that is outside the ASCII range; this may result in loss of data when the mailbox is created.

See main() method for usage details

  • Constructor Details

  • Method Details