problem with long subject

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
kumo
Forum Newbie
Posts: 2
Joined: Wed Apr 04, 2007 1:54 am

problem with long subject

Post by kumo »

I have problem when sending a email with long subject:

Header:

Code: Select all

Subject: this is a long subject. this is a long subject. this is a lon
 g subject. this is a long subject. this is a long subject.
The subject show in the outlook express / thunderbird becomes:
this is a long subject. this is a long subject. this is a lon g subject. this is a long subject. this is a long subject.

There is an extra space with the highlight text "long"
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I'm guessing you don't have the latest version of Swift since I change a chunk_split() to wordwrap() which should have sorted this.

What version of Swift do you have? :)
kumo
Forum Newbie
Posts: 2
Joined: Wed Apr 04, 2007 1:54 am

Post by kumo »

I am using Swift-3.1.2-php5

And I have updated to Swift-3.1.3-php5 nut the problem still not fixed yet.

Sometimes the long subject will split at the space position, but there is still a extra space (2 spaces).
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I wonder if I've misunderstood the boolean parameter in wordwrap() :? I thought it would only do that if the word itself overflowed the line. Let me do some investigating :)
Post Reply