I'd like to send an email from a python3 process on a wmcs VPS to report
errors.

I looked at https://wikitech.wikimedia.org/wiki/Help:Email_in_Cloud_VPS but
could use some help.

sudo echo "Subject: sendmail test2" | /usr/sbin/sendmail -v <myemail> works.

When I try to send the equivalent from python smtplib I get a 221 error
message.

Thanks,

Tim
_______________________________________________
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org
To unsubscribe send an email to wikitech-l-le...@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to