com.darwinsys.mail
Class SmtpUtils

java.lang.Object
  extended by com.darwinsys.mail.SmtpUtils

public class SmtpUtils
extends java.lang.Object


Field Summary
static int SMTP_PORT
           
 
Constructor Summary
SmtpUtils(java.lang.String myHostName, java.lang.String myDnsServer)
           
 
Method Summary
static java.lang.String readLine(java.io.BufferedReader is)
           
static void send(java.io.PrintWriter out, java.lang.String mesg)
           
 boolean verifySender(java.lang.String user, java.lang.String host)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SMTP_PORT

public static final int SMTP_PORT
See Also:
Constant Field Values
Constructor Detail

SmtpUtils

public SmtpUtils(java.lang.String myHostName,
                 java.lang.String myDnsServer)
Method Detail

verifySender

public boolean verifySender(java.lang.String user,
                            java.lang.String host)
                     throws java.io.IOException
Throws:
java.io.IOException

send

public static void send(java.io.PrintWriter out,
                        java.lang.String mesg)

readLine

public static java.lang.String readLine(java.io.BufferedReader is)
                                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.