Skip to content

Commit

Permalink
Fix bug in -async where the body_file (via body_filename) wouldn't ha…
Browse files Browse the repository at this point in the history
…ve the headers in it.

git-svn-id: http://svn.perl.org/qpsmtpd/trunk@947 958fd67b-6ff1-0310-b445-bb7760255be9
  • Loading branch information
msergeant committed Sep 26, 2008
1 parent 6cad1ec commit acdac0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Qpsmtpd/PollServer.pm
Expand Up @@ -279,6 +279,7 @@ sub got_data {
my $header = Mail::Header->new(\@header_lines,
Modify => 0, MailFrom => "COERCE");
$self->transaction->header($header);
$self->transaction->body_write($self->{header_lines});
$self->{header_lines} = '';

#$header->add("X-SMTPD", "qpsmtpd/".$self->version.", http://smtpd.develooper.com/");
Expand Down

0 comments on commit acdac0c

Please sign in to comment.