Jace Manshadi
462fdd3e49
updating location of logic for getmail command ( #264 )
...
* moving logic for processing all the new emails from all mailboxes to a method under Mailbox so it can be called from other modules
* moving logger lines into handle method as requested
2023-01-24 06:08:47 -08:00
Thomas Chamberlin
b5d5207cd8
Bug fixes to support Django 1.7
2018-03-09 16:36:39 -05:00
Thomas Chamberlin
e151006582
Fixed bug in mailbox_name argument and added unit tests
...
This is an optional positional argument, and thus needs to have nargs='?' set
2018-03-09 15:35:38 -05:00
Thomas Chamberlin
7b536046a9
Updated management command's argument handling for Django 1.8\+
...
It appears that Django switched from optparse to argparse in Django 1.8. In Django 1.10 it appears that the compatibility mode for optparse-style managemnt commands was removed, and thus these were broken
https://docs.djangoproject.com/en/1.11/internals/deprecation/#deprecation-removed-in-1-10
https://docs.djangoproject.com/en/1.11/releases/1.8/#extending-management-command-arguments-through-command-option-list
https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/
2018-03-09 14:45:43 -05:00
Lars Kruse
234ed00909
Add flake8 style check
2017-05-09 23:59:42 +02:00
Steeve
7198404efd
python3 support for rfc822.parseaddr ( #95 )
2016-05-15 12:08:27 -07:00
Adam Coddington
db6190a295
Cleaning up management commands for PEP-8 and consistency.
2014-08-22 20:02:58 -07:00
Adam Coddington
4b70cf6f21
Fixing bad migration; keeping migration for rebuilding associations as a management command.
2013-06-11 22:23:27 -07:00
Patrick Craston
ad4a1c00f4
Ignore p7s smime attachments
2013-01-15 15:48:15 +00:00
Adam Coddington
4ceeb4dae7
Adding optional argument to processincomingmessages management command for allowing one to specify a mailbox name.
2012-10-27 14:54:54 -07:00
me@adamcoddington.net
ff39cff80d
Adding active/inactive mailboxes, adding outgoing/incoming mail tracking, changing field names, tracking in-reply-to and references.
2012-10-09 05:52:04 +00:00
me@adamcoddington.net
00a4bde767
Use TO header for creating mailbox name.
...
--HG--
branch : exim4_pipe
2012-10-08 15:33:07 +00:00
me@adamcoddington.net
ffbf4ace6b
Return None for connection if no URI is specified in mailbox settings.
...
--HG--
branch : exim4_pipe
2012-10-08 15:30:32 +00:00
me@adamcoddington.net
0515cf7f74
Do not attempt to fetch mail for mailbox not having a URI.
...
--HG--
branch : exim4_pipe
2012-10-08 15:28:37 +00:00
me@adamcoddington.net
e165d16660
Fixing a typo that handles generating new mailbox names.
...
--HG--
branch : exim4_pipe
2012-10-08 15:27:46 +00:00
me@adamcoddington.net
5cf07a1c7b
Modifying management command to accept incoming mail from STDIN.
...
--HG--
branch : exim4_pipe
2012-10-08 03:07:30 +00:00
Adam Coddington
b7192e9149
Model modifications for allowing empty source inputs; adding processincomingmessage management command.
...
--HG--
branch : exim4_pipe
2012-10-07 19:43:38 -07:00
Adam Coddington
050b972c68
Adding a missing newline.
2012-06-28 09:45:37 -07:00
Adam Coddington
e8550b3797
Removing receiver for incoming 'message received' signal in management command; enumerate through incoming messages instead.
2012-06-28 09:41:31 -07:00
Adam Coddington
413b60e35f
Initial commit.
2012-06-27 20:45:01 -07:00