#NEWLINE# def __init__( self , hostname , port = None , ssl = False , archive = '' , folder = None ) : #NEWLINE# #INDENT# self . max_message_size = getattr ( settings , 'DJANGO_MAILBOX_MAX_MESSAGE_SIZE' , False ) #NEWLINE# self . integration_testing_subject = getattr ( settings , 'DJANGO_MAILBOX_INTEGRATION_TESTING_SUBJECT' , None ) #NEWLINE# self . hostname = hostname #NEWLINE# self . port = port #NEWLINE# self . archive = archive #NEWLINE# self . folder = folder #NEWLINE# if ssl : #NEWLINE# #INDENT# self . transport = imaplib . IMAP4_SSL #NEWLINE# if ( not self . port ) : #NEWLINE# #INDENT# self . port = 993 #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . transport = imaplib . IMAP4 #NEWLINE# if ( not self . port ) : #NEWLINE# #INDENT# self . port = 143