Skip to content

rconradharris/tinysmtp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinysmtp

Flask-Mail provides a nice interface to send email via SMTP. Unfortunately, it's tightly coupled to the Flask app object making it difficult to run outside of an app context.

This is a minimal subset of Flask-Mail that can run without an app-context.

Example:

with Connection('myhost', port=25) as conn:
  msg = Message('alice@example.com', ['bob@example.com'], 'Subject',
                body='body')
  conn.send(msg)

About

Flask-Mail without Flask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages