email-forwarder

High level email forwarding in Python.


Keywords
spam
Licenses
GPL-3.0/GPL-3.0+
Install
pip install email-forwarder==0.1.1

Documentation

email-forwarder

High-level email forwarding in Python (3+)

Usage

from email_forwarder import EmailForwarder

e = EmailForwarder("user@example.com", "password", "smtp.example.com", 587)

eml = open("message.eml", 'r').read()
e.forward(eml, "to@example.com")

Note: current implementation forwards in place without adding original From info.