Skip to content

richardhob/mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SMTP Mail Server

An even easier way to send emails!

Installation

You can install this package using pip (if you have GIT installed):

> python -m pip install git+https://github.com/richardhob/mail

Usage

Send an email!

>>> import mail
>>> dev = mail.Dev(user='', password='', host='', port=587)
>>> dev.open()
>>> dev.send('Hi there!', to='', subject='Test')
>>> dev.close()

Or, send some attachments:

>>> import mail
>>> dev = mail.Dev(...)
>>> dev.open()
>>> dev.send('Hi Again', 'path/to/test.csv', 'path/to/another.zip', to='',
    subject='Stuffs')
>>> dev.close()

About

Python SMTP Server Wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages