envelope 2.3.0__tar.gz → 2.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {envelope-2.3.0 → envelope-2.3.1}/PKG-INFO +4 -2
- {envelope-2.3.0 → envelope-2.3.1}/envelope/smtp_handler.py +2 -1
- {envelope-2.3.0 → envelope-2.3.1}/pyproject.toml +1 -1
- {envelope-2.3.0 → envelope-2.3.1}/LICENSE +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/README.md +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/envelope/__init__.py +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/envelope/__main__.py +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/envelope/_auth.py +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/envelope/address.py +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/envelope/attachment.py +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/envelope/constants.py +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/envelope/envelope.py +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/envelope/message.py +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/envelope/parser.py +0 -0
- {envelope-2.3.0 → envelope-2.3.1}/envelope/utils.py +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: envelope
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: Insert a message and attachments and send e-mail / sign / encrypt contents by a single line.
|
|
5
5
|
License: LGPL-3.0-or-later
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Author: Edvard Rejthar
|
|
7
8
|
Author-email: edvard.rejthar@nic.cz
|
|
8
9
|
Requires-Python: >=3.10
|
|
@@ -12,6 +13,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
12
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
17
|
Requires-Dist: jsonpickle
|
|
16
18
|
Requires-Dist: py3-validate-email
|
|
17
19
|
Requires-Dist: python-gnupg (>=0.5)
|
|
@@ -80,7 +80,8 @@ class SMTPHandler:
|
|
|
80
80
|
return smtp.send_message(email, from_addr=from_addr, to_addrs=to_addrs)
|
|
81
81
|
except (timeout_exc, SMTPException) as e:
|
|
82
82
|
# this connection is gone, reconnect next time
|
|
83
|
-
|
|
83
|
+
if self.key in self._instances:
|
|
84
|
+
del self._instances[self.key]
|
|
84
85
|
if isinstance(e, SMTPAuthenticationError):
|
|
85
86
|
logger.warning(
|
|
86
87
|
f"SMTP authentication error, will not re-try. {e}")
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "envelope"
|
|
7
|
-
version = "2.3.
|
|
7
|
+
version = "2.3.1"
|
|
8
8
|
description = "Insert a message and attachments and send e-mail / sign / encrypt contents by a single line."
|
|
9
9
|
authors = ["Edvard Rejthar <edvard.rejthar@nic.cz>"]
|
|
10
10
|
license = "LGPL-3.0-or-later"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|