outbox 0.1.4

SMTP client for Humans
outbox is simplest SMTP client you'll ever see. It's 100% synchronous...

Usage

Give your app an outbox easily:

from outbox import Outbox, Email, Attachment

outbox = Outbox(username='username', password='password',
 server='server', port=1234, mode='SSL')

outbox.send(Email(subject='my subject', body='some nice sentiment'), [
 Attachment('kittens.jpg', filepath='/path/to/kittens.jpg'),
 Attachment('my-transient-file.bin', raw='some raw data'),
])

outbox.send(Email(subject='my subject', body='< b >SOME REALLY NICE SENTIMENT< /b >', type='html'), [
 Attachment('kittens.jpg', filepath='/path/to/kittens.jpg'),
 Attachment('my-transient-file.bin', raw='some raw data'),
])


Installation

Installing Outbox.py is simple:

 pip install outbox

last updated on:
September 2nd, 2012, 15:18 GMT
price:
FREE!
developed by:
Nathan Hoad
homepage:
bitbucket.org
license type:
BSD License 
category:
ROOT \ Communications \ Email

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in This Release:
  • Handle passing a single recipient as a string, instead of forcing the recipient to be a list.
  • Handle utf8 email properly. Thanks, Zhang Mingyuan! I doubt I've covered every use case, so the charset to use can be passed in when constructing an Email.
  • Added a sender_address method to the Outbox class, for when the username used for authentication isn't good enough.
read full changelog

Add your review!

SUBMIT