See https://www.linuxjournal.com/article/9585?page=0,0
On 01/11/2023 17:09, Simon Connah via Python-list wrote:
Hi, I'm building a simple project using smtplib and have a question. I've been doing unit testing but I'm not sure how to check if an email message is valid. Using regex sounds like a bad idea to me and the other options I found required paying for third party services. Could someone push me in the right direction please? I just want to find out if a string is a valid email address. Thank you. Simon.
-- Ian Hobson Tel (+66) 626 544 695 -- https://mail.python.org/mailman/listinfo/python-list