I have an SMTP server running on localhost:
python -m smtpd -n -c DebuggingServer localhost:1025
Problems:
- If I am using gmail config I can send an email from python code. However, the 'From' user is being ignored and it defaults to the username associated with the login...
- If I am not using a login based server (gmail or other), emails are being sent but not received
I am trying to generate an email from a 'do_not_reply@abc.com' but I cannot get it to work. What am I missing?