From a first pass at investigating this, I think this may be a bug with non-immediate mail delivery that's been hanging around for a long time but hasn't really been exposed in many situations so we haven't noticed. From a first pass, it looks as though perhaps adding `<mail:smtpMailer name="localhost" hostname="localhost" port="25" />` to `{lpnet,production}/mail-configure-normal.zcml` might do the job, in order to override the default stub mailer.
(Immediate mail delivery goes through a different code path that invokes `smtplib` directly, so doesn't suffer from this problem.)
From a first pass at investigating this, I think this may be a bug with non-immediate mail delivery that's been hanging around for a long time but hasn't really been exposed in many situations so we haven't noticed. From a first pass, it looks as though perhaps adding `<mail:smtpMailer name="localhost" hostname= "localhost" port="25" />` to `{lpnet, production} /mail-configure -normal. zcml` might do the job, in order to override the default stub mailer.
(Immediate mail delivery goes through a different code path that invokes `smtplib` directly, so doesn't suffer from this problem.)