All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class key.SMTP

java.lang.Object
   |
   +----key.SMTP

public class SMTP
extends Object

Variable Index

 o DEFAULT_PORT
 o reply
 o send
 o sock

Constructor Index

 o SMTP(InetAddress)
 o SMTP(InetAddress, int)
 o SMTP(String)
 o SMTP(String, int)

Method Index

 o finalize()
 o send(String, String, String, String)

Variables

 o DEFAULT_PORT
 public static final int DEFAULT_PORT
 o reply
 protected DataInput reply
 o send
 protected PrintStream send
 o sock
 protected Socket sock

Constructors

 o SMTP
 public SMTP(String hostid) throws UnknownHostException, IOException
 o SMTP
 public SMTP(String hostid,
             int port) throws UnknownHostException, IOException
 o SMTP
 public SMTP(InetAddress address) throws IOException
 o SMTP
 public SMTP(InetAddress address,
             int port) throws IOException

Methods

 o send
 public void send(String from_address,
                  String to_address,
                  String subject,
                  String message) throws IOException, ProtocolException
 o finalize
 protected void finalize() throws Throwable
Overrides:
finalize in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index