4 ms·
Python has an "email object" that you should definitely use if you're going to parse email messages in any way. https://docs.python.org/3/library/email.message
by hathawsh 8mo ago
Python has an "email object" that you should definitely use if you're going to parse email messages in any way.
https://docs.python.org/3/library/email.message.html https://docs.python.org/3/library/email.message.html
I imagine other languages have similar libraries. I would say static typing in scripting languages has arrived and is here to stay. It's a huge benefit for large code bases.
- maleldil 8mo agoThat's for messages. The discussion was about email _addresses_. The former logically makes sense as an object, but the latter can easily be implemented as a raw string, hence the discussion.