Delete all POP3 messages after their attachments are processed, remove delete_messages field

This commit is contained in:
Roberto Rosario
2012-03-10 04:26:02 -04:00
parent 0e060aec46
commit b849352b3a
3 changed files with 103 additions and 7 deletions
+3 -3
View File
@@ -8,14 +8,14 @@ from smart_settings.api import Setting, SettingNamespace
namespace = SettingNamespace('sources', _(u'Sources'), module='sources.conf.settings')
POP3_DEFAULT_TIMEOUT = 5
POP3_DEFAULT_EMAIL_PROCESSING_INTERVAL = 15 * 60
POP3_DEFAULT_TIMEOUT = 10 # POP3 only not SSL
POP3_DEFAULT_EMAIL_PROCESSING_INTERVAL = 15 * 60 # 15 minutes
Setting(
namespace=namespace,
name='POP3_TIMEOUT',
global_name='SOURCES_POP3_TIMEOUT',
default=5,
default=POP3_DEFAULT_TIMEOUT,
)
Setting(