On 6/5/23 10:07, Peter Münster wrote:
On Mon, Jun 05 2023, Mark Sapiro wrote:
Changes like those above are due to Python's stdlib email module.
Could you point me to the code please, where the module is called?
Basically, all over.
https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/email/message.p... defines a mailman.email.message.Message class which is a subclass of Python's email.message.Message class.
https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/runners/lmtp.py... makes a mailman.email.message.Message object from the incoming bytes. This object is passed around through many Mailman modules and ultimately https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/runners/outgoin... calls the delivery function which has multiple paths which all wind up at https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/mta/connection.... to send the message. and current code (Mailman >=3.3.6) will actually pass the message object to Python's smtplib <https://docs.python.org/3/library/smtplib.html#smtplib.SMTP.send_message> to send it.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan