| com.caucho.mail.smtp.SmtpTransport
SmtpTransport | public class SmtpTransport extends Transport (Code) | | Resin's SMTP transport implementation.
|
Constructor Summary | |
public | SmtpTransport(Session session, URLName urlName) |
Method Summary | |
public void | close() Close connection. | protected boolean | protocolConnect(String host, int port, String user, String password) Connect for the protocol. | public void | sendMessage(Message msg, Address[] addresses) Sends a message to the specified recipients. |
SmtpTransport | public SmtpTransport(Session session, URLName urlName)(Code) | | |
close | public void close() throws MessagingException(Code) | | Close connection.
|
protocolConnect | protected boolean protocolConnect(String host, int port, String user, String password) throws MessagingException(Code) | | Connect for the protocol.
|
sendMessage | public void sendMessage(Message msg, Address[] addresses) throws MessagingException(Code) | | Sends a message to the specified recipients.
Parameters: msg - the message to send Parameters: addresses - the destination addresses |
|
|