SMTP relay for Simple Login.
Will relay all your emails sent to the relay to your actual mailbox (e.g. gmail), replacing all recipient emails with revert alias.
Only supports custom domain or custom subdomain.
- copy
config.py.example
toconfig.py
and replace variables python server.py
- then use it like a regular smtp server:
server = smtplib.SMTP("relay_server", 8025)
server.starttls()
server.login("some_really_cool_username", "password")
server.sendmail("any_alias@your_domain.com", ["any_recipient@example.com"], """
From: Someone <any_alias@your_domain.com>
To: any_recipient@example.com
Subject: A test
Hi Bart, this is Anne.
""")