org.mailster.pop3.mailbox
Class MailBoxManager
java.lang.Object
org.mailster.pop3.mailbox.MailBoxManager
public class MailBoxManager
- extends java.lang.Object
---
Mailster (C) 2007-2009 De Oliveira Edouard
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 675 Mass
Ave, Cambridge, MA 02139, USA.
See Mailster
Web Site
---
MailBoxManager.java - Manages the mailboxes.
- Version:
- $Revision: 1.9 $, $Date: 2009/03/24 16:52:51 $
- Author:
- Edouard De Oliveira
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.slf4j.Logger log
POP3_SPECIAL_ACCOUNT_LOGIN
public static final java.lang.String POP3_SPECIAL_ACCOUNT_LOGIN
- This is a special mailbox account name used to retrieve all the received
emails. This is purposedly a valid forged email address in order that
email clients won't reject it.
- See Also:
- Constant Field Values
mailBoxes
private java.util.Hashtable<java.lang.String,MailBox> mailBoxes
pop3SpecialAccountMailbox
private MailBox pop3SpecialAccountMailbox
pop3SpecialAccountLogin
private java.lang.String pop3SpecialAccountLogin
MailBoxManager
protected MailBoxManager()
addMessageToSpecialAccount
public StoredSmtpMessage addMessageToSpecialAccount(SmtpMessage msg)
removeAllMessagesFromSpecialAccount
public void removeAllMessagesFromSpecialAccount()
removeMessageFromSpecialAccount
protected void removeMessageFromSpecialAccount(StoredSmtpMessage msg)
removeAllMessages
public void removeAllMessages()
removeMessage
public void removeMessage(StoredSmtpMessage msg)
getMailBoxByUser
public MailBox getMailBoxByUser(Pop3User user)
clear
public void clear()
setPop3SpecialAccountLogin
public void setPop3SpecialAccountLogin(java.lang.String pop3SpecialAccountLogin)