7. API Reference

7.2. Main Objects and functions

isbg.learn_mail(mail, learn_type) Process a email and try to learn or unlearn it.
isbg.test_mail(mail[, spamc, cmd]) Test a email with spamassassin.
isbg.unwrap(mail) Unwrap a email from the spamassasin email.
isbg.isbg.__version__ The current isbg version
isbg.isbg.__exitcodes__ Exit codes used as return in the command line usage in sys.exit().
isbg.isbg.ISBG() Main ISBG class.
isbg.isbg.ISBGError([exitcode, message]) Class for the ISBG exceptions.

7.3. Indices and tables