Changelogs » Py-emails

PyUp Safety actively tracks 267,561 Python packages for vulnerabilities and notifies you when to upgrade.



The `Email.send` method now accepts an optional parameter, `max_retries` which defaults to 2. If a timeout occurs during sending, it will be retried up to the value of `max_retries` and raise the timeout error if it times out again after the last retry.


Minor tweaks to the initial API, this should be much cleaner and more reusable. This change also adds support for authentication.


MVP release - very basic functionality, no SMTP authentication supported as my primary use case doesn't require it currently. I do plan on fleshing this package out and adding more functionality eventually, feel free to submit PRs in the meantime.