Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Missing \r\n between Content-Type & Content-Transfer-Encoding headers #57

Closed
gromnitsky opened this Issue Apr 23, 2010 · 2 comments

Comments

Projects
None yet
2 participants

Ruby 1.9.1, mail 2.2.0

irb(main):001:0> require 'mail'
=> true
irb(main):002:0> m = Mail.new()
=> #
irb(main):003:0> m.to_s
=> "Date: Fri, 23 Apr 2010 20:10:28 +0300\r\nMessage-ID: <4bd1d4848e8af_6bd11425937460927@goliard.medieval.mail>\r\nMime-Version: 1.0\r\nContent-Type: text/plainContent-Transfer-Encoding: 7bit\r\n\r\n"
irb(main):004:0> print m.to_s
Date: Fri, 23 Apr 2010 20:10:28 +0300
Message-ID: <4bd1d4848e8af_6bd11425937460927@goliard.medieval.mail>
Mime-Version: 1.0
Content-Type: text/plainContent-Transfer-Encoding: 7bit

=> nil
Owner

mikel commented Sep 11, 2010

Wow, thanks for finding this. Crazy. Working on a fix now

Owner

mikel commented Sep 11, 2010

Thanks, fixed in commit #52c60ee and pushed to master. Will be in 2.2.5.3

Bira pushed a commit to Bira/mail that referenced this issue Jul 8, 2011

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment