Skip to main content

## Port of Ruby version bounce_email to Python https://github.com/getoutreach/bounce_email ## Setup workinv env mkvirtualenv bounce_email pip install -r requirements.txt ## Run the tests nosetests --verbose ## Usage from bounce_email import bounce_email msg = """ Fill with raw email text """ # Do something with bounce info bounce = bounce_email.BounceEmail(msg) bounce.is_bounced # True/False bounce.code # e.g. "5.0.0" bounce.reason # e.g. "Description of the bounce code" bounce.bounce_type # "Permanent Failure", "Persistent Transient Failure", "Success" -- BounceEmail::TYPE_HARD_FAIL, TYPE_SOFT_FAIL, TYPE_SUCCESS

Project description

UNKNOWN

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bounce_email-0.0.1.tar.gz (7.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page