Class cynosurex.net.SMTP
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cynosurex.net.SMTP

java.lang.Object
   |
   +----cynosurex.net.SMTP

public class SMTP
extends Object

Variable Index

 o DEFAULT_SMTP_PORT
 o EOL

Method Index

 o checkResponse(String, String)
 o connect(String, int)
 o disconnect(Socket, DataInputStream, DataOutputStream)
 o getInputStream(Socket)
 o getOutputStream(Socket)
 o getResponse(DataInputStream)
 o mail(String, int, String, Vector, String, String, String)
 o mail(String, String, String, String, String, String)
 o transmitData(DataInputStream, DataOutputStream, String, String, String)
 o transmitFrom(DataInputStream, DataOutputStream, String)
 o transmitInit(DataInputStream, DataOutputStream)
 o transmitTo(DataInputStream, DataOutputStream, Vector)

Variables

 o DEFAULT_SMTP_PORT
  public static int DEFAULT_SMTP_PORT
 o EOL
  public final static String EOL

Methods

 o mail
  public static void mail(String server,
                          String from,
                          String to,
                          String mailer,
                          String subject,
                          String data) throws MailUnsuccessfulException, IOException
 o mail
  public static void mail(String server,
                          int port,
                          String from,
                          Vector to,
                          String mailer,
                          String subject,
                          String data) throws MailUnsuccessfulException, IOException
 o connect
  public static Socket connect(String server,
                               int port) throws MailUnsuccessfulException
 o getInputStream
  public static DataInputStream getInputStream(Socket socket) throws MailUnsuccessfulException
 o getOutputStream
  public static DataOutputStream getOutputStream(Socket socket) throws MailUnsuccessfulException
 o transmitInit
  public static String transmitInit(DataInputStream in,
                                    DataOutputStream out) throws MailUnsuccessfulException, IOException
 o transmitFrom
  public static String transmitFrom(DataInputStream in,
                                    DataOutputStream out,
                                    String from) throws MailUnsuccessfulException, IOException
 o transmitTo
  public static String transmitTo(DataInputStream in,
                                  DataOutputStream out,
                                  Vector to) throws MailUnsuccessfulException, IOException
 o transmitData
  public static String transmitData(DataInputStream in,
                                    DataOutputStream out,
                                    String mailer,
                                    String subject,
                                    String data) throws MailUnsuccessfulException, IOException
 o disconnect
  public static String disconnect(Socket socket,
                                  DataInputStream in,
                                  DataOutputStream out) throws MailUnsuccessfulException
 o checkResponse
  public static void checkResponse(String str,
                                   String code) throws MailUnsuccessfulException
 o getResponse
  public static String getResponse(DataInputStream in) throws MailUnsuccessfulException

All Packages  Class Hierarchy  This Package  Previous  Next  Index