change mail to localmail
This commit is contained in:
16
mail.py
16
mail.py
@@ -1,16 +1,10 @@
|
||||
import smtplib, ssl
|
||||
import smtplib
|
||||
|
||||
port = 465 # For SSL
|
||||
password = "mailR3L4Y"
|
||||
port = 25
|
||||
|
||||
# Create a secure SSL context
|
||||
context = ssl.create_default_context()
|
||||
|
||||
with smtplib.SMTP_SSL("kawomi.com", port, context=context) as server:
|
||||
server.login("pope@kawomi.com", password)
|
||||
|
||||
sender_email = "pope@kawomi.com"
|
||||
receiver_email = "j.tretter@gmail.com"
|
||||
server=smtplib.SMTP("localhost", port)
|
||||
sender_email = "pope@home.kawomi.com"
|
||||
receiver_email = "pope@kawomi.com"
|
||||
message = """\
|
||||
Subject: Hi there
|
||||
|
||||
|
||||
Reference in New Issue
Block a user