diff options
| author | Bobby <[email protected]> | 2023-05-28 00:41:28 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2023-05-28 00:41:28 -0400 |
| commit | 1bb0aa7433ec5f9d1bc6252204c8d6e8a682396c (patch) | |
| tree | 38d17386300c1355418d5bed274f65045c8223ca /users/mail_send.py | |
| parent | ac5057a31021cf0c72fa9ad02d238fd0184f508e (diff) | |
| download | thatcomputerscientist-1bb0aa7433ec5f9d1bc6252204c8d6e8a682396c.tar.xz thatcomputerscientist-1bb0aa7433ec5f9d1bc6252204c8d6e8a682396c.zip | |
Post show view count now, Django session uses redis cache
Diffstat (limited to 'users/mail_send.py')
| -rw-r--r-- | users/mail_send.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/users/mail_send.py b/users/mail_send.py index 742f84f5..be167eb1 100644 --- a/users/mail_send.py +++ b/users/mail_send.py @@ -1,10 +1,12 @@ # python script for sending SMTP configuration with Oracle Cloud Infrastructure Email Delivery -import smtplib import email.utils -from email.message import EmailMessage +import smtplib import ssl +from email.message import EmailMessage + from django.conf import settings + def send_email(sender, sender_name, recipient, subject, body_html, body_text): # Replace [email protected] with your "From" address. # This address must be verified. |
