| com.caucho.vfs.SmtpStream
SmtpStream | class SmtpStream extends MemoryStream (Code) | | Implementation of the SMTP/RFC822 protocol to handle mailto:
SmtpStream extends MemoryStream so the results will be buffered
until the close(). When the stream is finally closed, it will
send the results to the SMTP server.
|
_isClosed | boolean _isClosed(Code) | | |
addBcc | public void addBcc(String to) throws IOException(Code) | | Add new blind copied recipients
Parameters: to - a list of new recipients |
addCc | public void addCc(String to) throws IOException(Code) | | Add new copied recipients
Parameters: to - a list of new recipients |
addTo | public void addTo(String to) throws IOException(Code) | | Add new recipients
Parameters: to - a list of new recipients |
getFrom | public String getFrom()(Code) | | Returns the "from" user
|
sendRecipients | void sendRecipients(ReadStream is, WriteStream os, ArrayList<MailtoPath.Recipient> to, CharBuffer msg) throws IOException(Code) | | Send the recipient list to the server.
Parameters: is - ReadStream from the server Parameters: os - WriteStream to the server Parameters: to - list of recipients Parameters: msg - CharBuffer to receive the response |
setAttribute | public void setAttribute(String name, Object value) throws IOException(Code) | | Sets an attribute. Some attributes, like "date" and "sender" cannot
be set. Any unknown attribute will be treated as a user RFC822
header.
|
|
|