plain.email 0.9.0__tar.gz → 0.10.0__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.
@@ -11,3 +11,5 @@ plain*/tests/.plain
11
11
 
12
12
  # Ottobot
13
13
  .aider*
14
+
15
+ /llms-full.txt
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.email
3
- Version: 0.9.0
3
+ Version: 0.10.0
4
4
  Summary: Email sending for Plain.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-Expression: BSD-3-Clause
@@ -12,7 +12,7 @@ EMAIL_DEFAULT_REPLY_TO: list[str] = None
12
12
  EMAIL_HOST: str = "localhost"
13
13
 
14
14
  # Port for sending email.
15
- EMAIL_PORT: int = 25
15
+ EMAIL_PORT: int = 587
16
16
 
17
17
  # Whether to send SMTP 'Date' header in the local time zone or in UTC.
18
18
  EMAIL_USE_LOCALTIME: bool = False
@@ -20,7 +20,7 @@ EMAIL_USE_LOCALTIME: bool = False
20
20
  # Optional SMTP authentication information for EMAIL_HOST.
21
21
  EMAIL_HOST_USER: str = ""
22
22
  EMAIL_HOST_PASSWORD: str = ""
23
- EMAIL_USE_TLS: bool = False
23
+ EMAIL_USE_TLS: bool = True
24
24
  EMAIL_USE_SSL: bool = False
25
25
  EMAIL_SSL_CERTFILE: str = None
26
26
  EMAIL_SSL_KEYFILE: str = None
@@ -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
  [project]
2
2
  name = "plain.email"
3
- version = "0.9.0"
3
+ version = "0.10.0"
4
4
  description = "Email sending for Plain."
5
5
  authors = [{name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev"}]
6
6
  license = "BSD-3-Clause"
File without changes
File without changes