Answers for "what is the equivalent of mailer module in python3"

0

malier module python

from mailer import Mailer
from mailer import Message

message = Message(From="[email protected]",
                  To="[email protected]",
                  charset="utf-8")
message.Subject = "An HTML Email"
message.Html = """This email uses <strong>HTML</strong>!"""
message.Body = """This is alternate text."""

sender = Mailer('smtp.example.com')
sender.send(message)
Posted by: Guest on October-05-2020

Code answers related to "what is the equivalent of mailer module in python3"

Python Answers by Framework

Browse Popular Code Answers by Language