i2p.susi.webmail.smtp
Class SMTPClient

java.lang.Object
  extended by i2p.susi.webmail.smtp.SMTPClient

public class SMTPClient
extends java.lang.Object

Author:
susi

Field Summary
(package private)  byte[] buffer
           
 java.lang.String error
           
(package private)  java.lang.String lastResponse
           
(package private)  java.net.Socket socket
           
 
Constructor Summary
SMTPClient()
           
 
Method Summary
 int sendCmd(java.lang.String cmd)
           
 boolean sendMail(java.lang.String host, int port, java.lang.String user, java.lang.String pass, java.lang.String sender, java.lang.Object[] recipients, java.lang.String body)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

socket

java.net.Socket socket

buffer

byte[] buffer

error

public java.lang.String error

lastResponse

java.lang.String lastResponse
Constructor Detail

SMTPClient

public SMTPClient()
Method Detail

sendCmd

public int sendCmd(java.lang.String cmd)

sendMail

public boolean sendMail(java.lang.String host,
                        int port,
                        java.lang.String user,
                        java.lang.String pass,
                        java.lang.String sender,
                        java.lang.Object[] recipients,
                        java.lang.String body)