dill_tils.email package
Submodules
dill_tils.email.email module
- class dill_tils.email.email.Email(recipient: str, sender: str, password: str, server: str = 'smtp.yandex.com', port: int = 465)
Bases:
object
Connect to SMTP server and send emails
Keyword arguments: recipient – str: email address of recipient sender – str: email address of sender password – str: password of sender server – str: SMTP server (default ‘smtp.yandex.com’) port – int: SMTP port (default 465)
- sendEmail(subject, message)
Send an email
Keyword arguments: subject – str: Email subject message – str: Email content/message