Class SmtpClient


public class SmtpClient extends TransferProtocolClient
This class implements the SMTP client. You can send a piece of mail by creating a new SmtpClient, calling the "to" method to add destinations, calling "from" to name the sender, calling startMessage to return a stream to which you write the message (with RFC733 headers) and then you finally close the Smtp Client.
Version:
1.17, 12 Dec 1994
Author:
James Gosling