|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Mailbox
Interface to the mail functionality of a Notes mail database.
| Method Summary | |
|---|---|
Email |
forward(Email memo)
Creates a new memo as a forward of an existing memo. |
Email |
forward(Email memo,
boolean withAttachments)
Creates a new memo as a forward to an existing memo. |
Email |
getEmail(EmailDigest emailDigest)
Returns the email represented by the given email-digest. |
java.util.Iterator |
getInbox()
Returns an iterator over all mails in the Inbox. |
java.util.Iterator |
getInbox(boolean reverseOrder)
Returns an iterator over all mails in the Inbox. |
java.lang.String |
getOwner()
Returns the name of the owner of a mailbox. |
Email |
newEmail()
Creates a new Memo. |
void |
remove(Email memo)
Deletes an existing memo. |
void |
remove(EmailDigest memo)
Deletes an existing memo. |
Email |
reply(Email memo,
boolean withHistory,
boolean withAttachments)
Creates a new memo as a reply to the sender of the original memo. |
Email |
replyToAll(Email memo,
boolean withHistory,
boolean withAttachments)
Creates a new memo as a reply to all original recipients of the original memo. |
void |
saveAsDraft(Email memo)
Sends a memo. |
void |
send(Email memo)
Sends a memo. |
| Method Detail |
|---|
java.lang.String getOwner()
java.util.Iterator getInbox()
java.util.Iterator getInbox(boolean reverseOrder)
Depending on how the inbox is sorted (ascending or descending by date), choose where to start reading mails.
reverseOrder - whether to start at the beginning or at the end
Email newEmail()
void saveAsDraft(Email memo)
memo - the memo to sendvoid send(Email memo)
memo - the memo to sendEmail forward(Email memo)
memo - the memo to forward
Email forward(Email memo,
boolean withAttachments)
memo - an existing memowithAttachments - forward with or without attachments
Email reply(Email memo,
boolean withHistory,
boolean withAttachments)
memo - the memo to forwardwithHistory - if the original mail should be includedwithAttachments - if attachments should be included
Email replyToAll(Email memo,
boolean withHistory,
boolean withAttachments)
memo - the memo to forwardwithHistory - if the original mail should be includedwithAttachments - if attachments should be included
void remove(Email memo)
memo - a memo to deletevoid remove(EmailDigest memo)
memo - a memo digest to deleteEmail getEmail(EmailDigest emailDigest)
emailDigest - an email-digest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||