On 13/03/2008, Lucas Nussbaum wrote: > Actually, I can't reproduce it: The emails I receive contain stuff. By > empty, do you mean "totally empty"? Could you copy one of those mails > (headers included) to this bug log?
Yes. Yes, here it comes.
> The MailDocument() function in /usr/bin/websec sends the mail. If the
> other headers in the mail are correct, could you modify it so that you
> display the value of $content?
Yes. Using the following:
600 $req->content($content);
601
602 print "\$content: [", $content, "]\n";
603
604 $ua = new LWP::UserAgent;
Output:
| Sending highlighted page to [EMAIL PROTECTED] ...
| $content: []
Checking for $content not being empty might do, before:
590 foreach $email (@recipients) {
Cheers,
--
Cyril Brulebois
From [EMAIL PROTECTED] Thu Mar 13 13:45:14 2008
Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: by duckcorp.org (Postfix, from userid 1000)
id C0CABC875A; Thu, 13 Mar 2008 13:45:13 +0100 (CET)
User-Agent: libwww-perl/5.808
Content-Type: text/html
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
Subject: NM list - 13 mars 2008 (jeu) - https://nm.debian.org/nmlist.php
To: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Date: Thu, 13 Mar 2008 13:45:13 +0100 (CET)
From: [EMAIL PROTECTED] (Cyril Brulebois)
pgpfBEgeNjc46.pgp
Description: PGP signature

