plain.email 0.9.1__py3-none-any.whl → 0.10.1__py3-none-any.whl

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.
@@ -3,9 +3,9 @@
3
3
  import smtplib
4
4
  import ssl
5
5
  import threading
6
+ from functools import cached_property
6
7
 
7
8
  from plain.runtime import settings
8
- from plain.utils.functional import cached_property
9
9
 
10
10
  from ..backends.base import BaseEmailBackend
11
11
  from ..message import sanitize_address
plain/email/message.py CHANGED
@@ -568,10 +568,10 @@ class TemplateEmail(EmailMultiAlternatives):
568
568
  return ""
569
569
 
570
570
  def get_plain_template_name(self):
571
- return f"mail/{self.template}.txt"
571
+ return f"email/{self.template}.txt"
572
572
 
573
573
  def get_html_template_name(self):
574
- return f"mail/{self.template}.html"
574
+ return f"email/{self.template}.html"
575
575
 
576
576
  def get_subject_template_name(self):
577
- return f"mail/{self.template}.subject.txt"
577
+ return f"email/{self.template}.subject.txt"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.email
3
- Version: 0.9.1
3
+ Version: 0.10.1
4
4
  Summary: Email sending for Plain.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-Expression: BSD-3-Clause
@@ -1,14 +1,14 @@
1
1
  plain/email/README.md,sha256=6aI9gU-ucBmxOwarCCsS8EJYfRVZlKtkYCBm7UwodJc,191
2
2
  plain/email/__init__.py,sha256=rxQVZrXePn7K0iS7-AEWJKtHHIT2AWTe62HBWCUdX2M,3247
3
3
  plain/email/default_settings.py,sha256=XTdQPo0KlOxbPXVlgxMdXWACG-qsZaSEMtkj8cQVIt4,783
4
- plain/email/message.py,sha256=OIhgNpQ1TFrtz5fMPnnnZZKGrClXhCr30dP3JwUkq_A,20041
4
+ plain/email/message.py,sha256=YjmO-DRvUqGIDEVNTuSIfsTtOeHas37a_9AZNGzsr1w,20044
5
5
  plain/email/utils.py,sha256=ez-G2FUqRtozr-pXL6k0pceSqyPITilqiNc4hm3e45E,505
6
6
  plain/email/backends/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  plain/email/backends/base.py,sha256=Cljbb7nil40Dfpob2R8iLmlO0Yv_wlOCBA9hF2Z6W54,1683
8
8
  plain/email/backends/console.py,sha256=QhB_GBNIct7gwoTnVQNYqdLSRB1Hd8vl0U1eZuL_kMM,1400
9
9
  plain/email/backends/filebased.py,sha256=uYgDWM5Hyl4GpMQhAjE5yKkxshQ8WgJWZ0ZZDK8mQoI,2277
10
- plain/email/backends/smtp.py,sha256=oE_PX8MYf78a7j3zj_3SKZs8ZGQ9OQ-B9RHps7KZpQ0,5760
11
- plain_email-0.9.1.dist-info/METADATA,sha256=oyUU0JgL05QNtvabIPOB5ASvsbGOfNeuGdWuqlNuKVs,484
12
- plain_email-0.9.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
- plain_email-0.9.1.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
14
- plain_email-0.9.1.dist-info/RECORD,,
10
+ plain/email/backends/smtp.py,sha256=uHj5rI-S4eNBeNUasKEFedwR_tGfZwUIWgQGM_jc7Ag,5747
11
+ plain_email-0.10.1.dist-info/METADATA,sha256=RUr9bKyaogUlnCxHTE6egmhKXjYqmrmLrzTmv64ys-g,485
12
+ plain_email-0.10.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
13
+ plain_email-0.10.1.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
14
+ plain_email-0.10.1.dist-info/RECORD,,