jaugment2.mail
Class MailSender.MailSenderMessage
java.lang.Object
|
+--jaugment2.mail.MailSender.MailSenderMessage
- Enclosing class:
- MailSender
- public static class MailSender.MailSenderMessage
- extends java.lang.Object
- implements java.io.Serializable
JavaMail-messages are connected to a store and thus cannot be send over the wire
so we have to wrasp them like this
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
handle
public MailSender.MessageHandle handle
content
public java.lang.Object content
- Content may be null as it is a slow operation to get
the content of all the mail in a folder
subject
public java.lang.String subject
sentDate
public java.util.Date sentDate
from
public javax.mail.Address[] from
flags
public int flags
FLAG_REAT
public static final int FLAG_REAT
FLAG_DELETED
public static final int FLAG_DELETED
FLAG_DRAFT
public static final int FLAG_DRAFT
FLAG_FLAGGED
public static final int FLAG_FLAGGED
MailSender.MailSenderMessage
public MailSender.MailSenderMessage(MailSender.MessageHandle handle,
java.lang.Object content,
java.lang.String subject,
java.util.Date sentDate,
javax.mail.Address[] from,
int flags)
copyToFolder
public boolean copyToFolder(MailSender.FolderHandle f,
MailSender proxy)
throws java.rmi.RemoteException
moveToFolder
public boolean moveToFolder(MailSender.FolderHandle f,
MailSender proxy)
throws java.rmi.RemoteException