Skip to content

Commit

Permalink
also binmode the Mbox output handle
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Mar 6, 2012
1 parent 34778d1 commit 9690f3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Email/Sender/Transport/Mbox.pm
Expand Up @@ -64,6 +64,8 @@ sub _open_fh {
my $fh = IO::File->new($file, '>>')
or Carp::confess "couldn't open $file for appending: $!";

$fh->binmode(':raw');

$class->_getlock($fh, $file);

$fh->seek(0, 2);
Expand Down

0 comments on commit 9690f3b

Please sign in to comment.