Package osaf :: Package mail :: Module constants
[hide private]
[frames] | no frames]

Module constants

source code

Contains constants shared across the Mail Domain (SMTP, IMAP4, POP3)

Variables [hide private]
  CHANDLER_USERAGENT = 'Chandler (0.7.2.dev-r15598)'
  CHANDLER_HEADER_PREFIX = 'X-Chandler-'
  CHANDLER_MAIL_FOLDER = u'Chandler Mail'
  CHANDLER_TASKS_FOLDER = u'Chandler Tasks'
  CHANDLER_EVENTS_FOLDER = u'Chandler Events'
  INVALID_EMAIL_ADDRESS = u'Email Address %(emailAddress)s is no...
  MAIL_GENERIC_ERROR = u'Mail error:\n\n\t%(errText)s'
  MAIL_PROTOCOL_ERROR = u'Error from mail server'%(hostName)s':\...
  MAIL_PROTOCOL_SUCCESS = u'Connection to server '%(hostName)s' ...
  MAIL_PROTOCOL_REQUIRES_TLS = u'The server requires secure logi...
  MAIL_PROTOCOL_OFFLINE = u'%(accountName)s is offline. No opera...
  MAIL_PROTOCOL_CONNECTION = u'%(accountName)s: Connecting to se...
  MAIL_PROTOCOL_CONNECTION_ERROR = u'Unable to connect to server...
  MAIL_PROTOCOL_TIMEOUT_ERROR = u'Connection to server timed out...
  DOWNLOAD_NO_MESSAGES = u'%(accountName)s: No new messages found.'
  DOWNLOAD_CHECK_MESSAGES = u'%(accountName)s: Checking for new ...
  INBOX_LIST_ERROR = u'Unable to determine status of Inbox on se...
  UPLOAD_BAD_REPLY_ADDRESS = u'The Reply-to address %(emailAddre...
  UPLOAD_FROM_REQUIRED = u'A From: address is required to send t...
  UPLOAD_TO_REQUIRED = u'At least one valid To: email address is...
  UPLOAD_OFFLINE = u'%(accountName)s: Chandler mail is offline, ...
  UPLOAD_START = u'%(accountName)s: Sending "%(subject)s"...'
  UPLOAD_SENT = u'%(accountName)s: "%(subject)s" sent.'
  TEST_OFFLINE = u'Cannot perform request. Chandler mail is offl...
  POP_UIDL_ERROR = u'Invalid server. The POP3 server does not su...
  DOWNLOAD_CHANDLER_MESSAGES = <ChoiceFormat: 1.0#%(accountName)...
  DOWNLOAD_START_MESSAGES = <ChoiceFormat: 1.0#%(accountName)s: ...
  POP_SEARCH_STATUS = u'%(accountName)s: Searching %(start)s - %...
  IMAP_SEARCH_STATUS = u'%(accountName)s: Searching %(start)s - ...
  IMAP_INBOX_MISSING = u'%(accountName)s is not configured corre...
  IMAP_COMMIT_MESSAGES = u'%(accountName)s: Commiting %(start)s ...
  POP_COMMIT_MESSAGES = u'%(accountName)s: Commiting %(start)s -...
  TIMEOUT = 30
  TESTING_TIMEOUT = 10
  VERBOSE = True
  IGNORE_ATTACHMENTS = True
  WAIT_FOR_COMMIT = True
  NOOP_INTERVAL = 10
  MAX_COMMIT = 500
  MAILSERVICE_PRUNE_SIZE = 500
  MAILWORKER_PRUNE_SIZE = 500
  DEBUG_CLIENT_SERVER = 0
  MAX_IMAP_SEARCH_NUM = 350
  MAX_POP_SEARCH_NUM = 50
Variables Details [hide private]

INVALID_EMAIL_ADDRESS

Value:
u'Email Address %(emailAddress)s is not valid'

MAIL_PROTOCOL_ERROR

Value:
u'''Error from mail server'%(hostName)s':

\t%(errText)s'''

MAIL_PROTOCOL_SUCCESS

Value:
u'Connection to server '%(hostName)s' was successful.'

MAIL_PROTOCOL_REQUIRES_TLS

Value:
u'The server requires secure login. Please enable TLS or SSL.'

MAIL_PROTOCOL_OFFLINE

Value:
u'%(accountName)s is offline. No operation was performed.'

MAIL_PROTOCOL_CONNECTION

Value:
u'%(accountName)s: Connecting to server %(serverDNSName)s...'

MAIL_PROTOCOL_CONNECTION_ERROR

Value:
u'Unable to connect to server. Please try again later.'

MAIL_PROTOCOL_TIMEOUT_ERROR

Value:
u'Connection to server timed out. Please try again later.'

DOWNLOAD_CHECK_MESSAGES

Value:
u'%(accountName)s: Checking for new messages...'

INBOX_LIST_ERROR

Value:
u'Unable to determine status of Inbox on server.'

UPLOAD_BAD_REPLY_ADDRESS

Value:
u'The Reply-to address %(emailAddress)s is not valid'

UPLOAD_FROM_REQUIRED

Value:
u'A From: address is required to send this message.'

UPLOAD_TO_REQUIRED

Value:
u'At least one valid To: email address is required to send this messag\
e.'

UPLOAD_OFFLINE

Value:
u'%(accountName)s: Chandler mail is offline, "%(subject)s" has been qu\
eued and will be sent as soon as Mail is put back online.'

TEST_OFFLINE

Value:
u'Cannot perform request. Chandler mail is offline.'

POP_UIDL_ERROR

Value:
u'''Invalid server. The POP3 server does not support the 'UIDL' comman\
d.
This command is required by Chandler.'''

DOWNLOAD_CHANDLER_MESSAGES

Value:
<ChoiceFormat: 1.0#%(accountName)s: %(numberTotal)s message downloaded\
 to Chandler (New: %(numberNew)s, Updates: %(numberUpdates)s, Duplicat\
es: %(numberDuplicates)s, Errors: %(numberErrors)s)|1.0<%(accountName)\
s: %(numberTotal)s messages downloaded to Chandler (New: %(numberNew)s\
, Updates: %(numberUpdates)s, Duplicates: %(numberDuplicates)s, Errors\
: %(numberErrors)s)>

DOWNLOAD_START_MESSAGES

Value:
<ChoiceFormat: 1.0#%(accountName)s: Downloading %(numberOfMessages)s m\
essage...|1.0<%(accountName)s: Downloading %(numberOfMessages)s messag\
es...>

POP_SEARCH_STATUS

Value:
u'%(accountName)s: Searching %(start)s - %(end)s of %(total)s messages\
...'

IMAP_SEARCH_STATUS

Value:
u'%(accountName)s: Searching %(start)s - %(end)s of %(total)s messages\
 in your '%(folderDisplayName)s'...'

IMAP_INBOX_MISSING

Value:
u'''%(accountName)s is not configured correctly.
The account settings contain no Inbox folder.'''

IMAP_COMMIT_MESSAGES

Value:
u'%(accountName)s: Commiting %(start)s - %(end)s of %(total)s messages\
 from '%(folderDisplayName)s'...'

POP_COMMIT_MESSAGES

Value:
u'%(accountName)s: Commiting %(start)s - %(end)s of %(total)s messages\
...'