Gossamer Forum
Home : Products : Gossamer Links : Discussions :

No line space in emails? bug?

Quote Reply
No line space in emails? bug?
Hi,

When I send a "text" email using the Mass Mail feature, the system removes all the line spacing, for example...

Hello,

This is an email, paragraph1

And this is a new paragraph

when it arrives in a user's inbox, it looks like:

Code:
Hello,
This is an email, paragraph1
And this is a new paragraph
Why is it removing new line spacing?! Please help.

JeffB

Quote Reply
Re: No line space in emails? bug? In reply to
Hi,

This was a bug on older versions, but I was pretty sure it got fixed in 2.0.3. If you turn compress off in your setup this won't happen (in later version it was fixed so it never compresses emails).

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: No line space in emails? bug? In reply to
That's worrying because I have Links 2.05! Please take another look and check that you did actually fix it because the bug is still in my version.

JeffB

Quote Reply
Re: No line space in emails? bug? In reply to
Hi,

Is this in the NewsLetter or custom lists?

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: No line space in emails? bug? In reply to
This is in Email > Mass Mail > Any of the options

Please let me know. I haven't tried the newsletter. I am trying to send a mail to all my link owners.

jeffB

Quote Reply
Re: No line space in emails? bug? In reply to
Hi Jeff,

This is a bug, to fix this edit admin/nph-email.cgi and change:

my $presend = sub { Links::user_page ('', \%info, { string => $_[1] }) };

to:

my $presend = sub { Links::user_page ('', \%info, { string => $_[1], compress => 0 }) };

and it will work properly.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] No line space in emails? bug? In reply to
Alex,

Thanks for your suggestion, but after trying it and sending out a mail, I see there is still no line spacing!?! What's going on? I have double-checked that I made the changes you suggested but it is still not working. Please advise. I am sending in "text" format in case that helps.

Jeffb
Quote Reply
Re: [jeffb] No line space in emails? bug? In reply to
Hi,

Hmm, can you try setting compress = 0 in the admin (in Build Options)?

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] No line space in emails? bug? In reply to
Hi,

Setting compress = 0 in the Setup > Build fixes the problem. However this is atill a bug because I want to compress my HTML pages and not compress my emails! Should I remove the solution you suggested above from my code?

-----
JeffB