|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectTransport
com.caucho.mail.smtp.SmtpTransport
public class SmtpTransport
Resin's SMTP transport implementation.
| Constructor Summary | |
|---|---|
SmtpTransport(Session session,
URLName urlName)
|
|
| Method Summary | |
|---|---|
void |
close()
Close connection. |
protected boolean |
protocolConnect(java.lang.String host,
int port,
java.lang.String user,
java.lang.String password)
Connect for the protocol. |
void |
sendMessage(Message msg,
Address[] addresses)
Sends a message to the specified recipients. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SmtpTransport(Session session,
URLName urlName)
| Method Detail |
|---|
protected boolean protocolConnect(java.lang.String host,
int port,
java.lang.String user,
java.lang.String password)
throws MessagingException
MessagingException
public void sendMessage(Message msg,
Address[] addresses)
throws MessagingException
msg - the message to sendaddresses - the destination addresses
MessagingException
public void close()
throws MessagingException
MessagingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||