Apache Commons Net

Apache Commons Net library implements the client side of many basic Internet protocols. Supported protocols include: FTP/FTPS, FTP over HTTP, NNTP, SMTP(S), POP3(S), IMAP(S), Telnet, TFTP, Finger, Whois, rexec/rcmd/rlogin, Time (rdate) and Daytime, Echo, Discard, NTP/SNTP.