All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cynosurex.net.SMTP

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

public class SMTP
extends Object
implements CommonInterface

Variable Index

 o DEFAULT_SMTP_PORT
 o EOL

Method Index

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

Variables

 o DEFAULT_SMTP_PORT
 public static int DEFAULT_SMTP_PORT
 o EOL
 public static final 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 BufferedReader getInputStream(Socket socket) throws MailUnsuccessfulException
 o getOutputStream
 public static PrintWriter getOutputStream(Socket socket) throws MailUnsuccessfulException
 o transmitInit
 public static String transmitInit(BufferedReader in,
                                   PrintWriter out) throws MailUnsuccessfulException, IOException
 o transmitFrom
 public static String transmitFrom(BufferedReader in,
                                   PrintWriter out,
                                   String from) throws MailUnsuccessfulException, IOException
 o transmitTo
 public static String transmitTo(BufferedReader in,
                                 PrintWriter out,
                                 Vector to) throws MailUnsuccessfulException, IOException
 o transmitData
 public static String transmitData(BufferedReader in,
                                   PrintWriter out,
                                   String mailer,
                                   String subject,
                                   String data) throws MailUnsuccessfulException, IOException
 o disconnect
 public static String disconnect(Socket socket,
                                 BufferedReader in,
                                 PrintWriter out) throws MailUnsuccessfulException
 o checkResponse
 public static void checkResponse(String str,
                                  String code) throws MailUnsuccessfulException
 o getResponse
 public static String getResponse(BufferedReader in) throws MailUnsuccessfulException

All Packages  Class Hierarchy  This Package  Previous  Next  Index