| Age | Commit message (Collapse) | Author |
|
email addresses.
|
|
|
|
Test failure introduced in fbbff7f80870bc3e98de4a2fc9cd853949842fd0.
Windows uses a different error message when a non-path is passed to
os.path functions.
|
|
|
|
localhost is non-ASCII.
Assisted by felixxm.
|
|
ADMINS/MANAGERS is set incorrectly.
|
|
email.headerregistry.parser.get_mailbox() returns a token with a `token_type` attribute.
If `token_type` is `’invalid-mailbox’` then RFC violations have been detected. Emails with only the local part, and no domain, are correctly parsed but are marked as `’invalid-mailbox’`.
As per #15042, local-only are supported, to enable sending to addresses on localhost.
sanitize_email() does not currently check `token_type`. This test is added to avoid a regression in case this is revisited in the future.
|
|
sanitize_address().
|
|
and two @ signs.
|
|
|
|
|
|
|
|
Used more specific errors (e.g. FileExistsError) as appropriate.
|
|
Thanks Mariusz Felisiak for auditing.
|
|
empty/error cases.
|
|
|
|
Unnecessary since their introduction in
fa75b2cb512409116b6f1b5229d6f99074d8e452.
|
|
|
|
|
|
|
|
|
|
|
|
exists.
|
|
corresponding argument.
|
|
|
|
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better.
|
|
empty and it has attachments.
|
|
|
|
attachments arg.
|
|
|
|
Thanks Sébastien Ramage for the report.
|
|
Thanks Tim Graham for the review.
|
|
|
|
Thanks Tim Graham for the review.
|
|
manager.
|
|
|
|
|
|
|
|
These functions do nothing on Python 3.
|
|
|
|
Thanks Tim Graham for the review.
|
|
Thanks Tim Graham and Simon Charette for the reviews.
|
|
Thanks Tim Graham for the review.
|
|
|
|
Thanks Pavel Pokrovskiy for the report and Tim Graham for the review.
|
|
|
|
Thanks Jarek Glowacki for the report.
|
|
if an exception occurs.
Fixes unclosed socket ResourceWarning in mail test.
Thanks Claude Paroz for the review.
|
|
Thanks Tim Graham for the review.
|
|
The Content-Transfer-Encoding header won't be repeated, so checking
the header is sufficient.
|