Merge pull request #48 from priyadi/spamassassin

spamassassin: Fix extra newlines between headers and body.
This commit is contained in:
Matt Simerson 2014-06-03 00:39:32 -07:00
commit bdeb92e01b

View File

@ -291,7 +291,7 @@ sub assemble_message {
my $message = my $message =
"X-Envelope-From: " "X-Envelope-From: "
. $transaction->sender->format . "\n" . $transaction->sender->format . "\n"
. $transaction->header->as_string . "\n\n"; . $transaction->header->as_string;
while (my $line = $transaction->body_getline) { $message .= $line; } while (my $line = $transaction->body_getline) { $message .= $line; }