swiftmailer/swiftmailer — Issue #135: Incorrect line break when folding headers on Windows OS
Author: matino
Created: 2011-11-24 14:44:50+00:00
State: open

When length of line in the header is greater then 78, Swiftmailer uses incorrect line break to indicate line fold. Easiest way to reporoduce this bug is to sent a random email to "your_1st_email_address" with 10 CC addresses and puting "your_2nd_email_address" as the last CC (to make the header longer then 78 characters). You won't receive the email on "your_2nd_email_address" because of this bug, even though you will see "your_2nd_email_address" in the CC list. I ended up with editing Swift_Mime_Headers_AbstractHeader class and setting $_lineLength to very high value but I'm looking forward for reliable solution.