PHP Developers Network
http://forums.devnetwork.net/

SwiftMailer adding extra newlines?
http://forums.devnetwork.net/viewtopic.php?f=52&t=70616
Page 1 of 1

Author:  richardkmiller [ Thu Jul 12, 2007 4:23 pm ]
Post subject:  SwiftMailer adding extra newlines?


Author:  venkatk [ Sun Sep 28, 2008 10:21 pm ]
Post subject:  Re: SwiftMailer adding extra newlines?


Author:  fb123 [ Mon Jul 01, 2013 9:40 pm ]
Post subject:  Re: SwiftMailer adding extra newlines?

Hi,

I realize that this topic is 5 years old, but I've just encountered the same problem with an old version of SwiftMailer (3.3.3) that I'm integrating with PHP 5.1.6 on my server. Did you ever find the cause of this issue? I'm getting completely random line breaks in plain text e-mails sent using the SMTP option. When I use PHP's native mail(), although a Content-Type and Charset aren't set, the plain text e-mail renders just fine in all e-mail clients.

Thanks in advance,

FB

Author:  requinix [ Tue Jul 02, 2013 11:38 pm ]
Post subject:  Re: SwiftMailer adding extra newlines?

Are you looking at the emails in a client that likes messing around with line breaks? I know Outlook tends to do that, but it also displays a message to that effect with the option to stop.

And are you looking at the raw email text or just what your client is showing you?

Author:  fb123 [ Wed Jul 03, 2013 8:16 pm ]
Post subject:  Re: SwiftMailer adding extra newlines?


Author:  requinix [ Thu Jul 04, 2013 5:40 pm ]
Post subject:  Re: SwiftMailer adding extra newlines?

Does it change every time? There must be something causing it to act the different ways. Some difference. Any ideas what that is?

Are you able to send the email to a server where you can view the raw received mail? Like some Linux machine (that you presumably have control over). Seeing the raw message would surely help to see what's going on.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/