|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StorageManager
Storage manager
| Method Summary | |
|---|---|
javax.mail.Folder |
findInbox(String mailbox,
String domain,
char[] password)
Returns local store's inbox if user is local or null otherwise. |
javax.mail.Store |
findStore(String mailbox,
String domain,
char[] password)
Returns local store if user is local or null otherwise. |
String |
getMainDomain()
Returns a domain this server's session is operating under. |
boolean |
hasDomain(String domain)
Returns true in case supplied domain is local for this
SMTP server. |
| Method Detail |
|---|
javax.mail.Store findStore(String mailbox,
String domain,
char[] password)
throws UserRejectedException,
javax.mail.MessagingException
null otherwise. In
case that user is to be rejected an exception is thrown.
mailbox - user's mailboxdomain - user's domain
UserRejectedException - in case that user is rejected for any reason
javax.mail.MessagingException - in case there is a problem accessing user's mailbox
javax.mail.Folder findInbox(String mailbox,
String domain,
char[] password)
throws UserRejectedException,
javax.mail.MessagingException
null otherwise. In
case that user is to be rejected an exception is thrown.
mailbox - user's mailboxdomain - user's domain
UserRejectedException - in case that user is rejected for any reason
javax.mail.MessagingException - in case there is a problem accessing user's mailboxboolean hasDomain(String domain)
true in case supplied domain is local for this
SMTP server. If this method returns true then
domain - domain to be queried
true in case supplied domain is local for this SMTP serverString getMainDomain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||