Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Sender CPAN distribution.

Report information
The Basics
Id: 60577
Status: resolved
Priority: 0/
Queue: Email-Sender

People
Owner: Nobody in particular
Requestors: cjm [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.101760
Fixed in: (no value)



Subject: Transport::Sendmail + qmail = extra blank line
When I started using Email::Sender on my local machine, I discovered that I was getting an extra blank line between the header and the body. This caused every (non-multipart) message to start with a blank line. I eventually discovered that this is because my sendmail executable is from qmail, and it doesn't like CRLF line endings. If you strip the CRs before piping the message to sendmail, you don't get the extra blank line. Arguably, this is a bug in qmail, but it's a long-standing one that doesn't seem likely to be fixed, and qmail is reasonably popular. Do you know of any version of sendmail that doesn't work properly when fed platform-native line endings? Maybe Email::Sender::Transport::Sendmail should use the native line ending instead of CRLF. I've solved this for myself by writing a wrapper for sendmail that strips all CRs from the input, but it'd be nice to have a universal solution.
I've tentatively changed this and will make a trial release. Thanks. -- rjbs