[Mailman-Users] Line breaks in monthly reminder emails

2022-12-01 Thread Russell Clemings
I don't think I've seen this discussed before although it's hard to search
for, so maybe it has been and I just can't find it.

My monthly reminder texts (cronpass.txt) are heavily customized. The only
line breaks in the cronpass.txt file are at the ends of paragraphs, etc.

When the reminders go out, they wrap around 70 characters on the desktop,
which is fine. It looks as if Mailman has inserted a hard line break there.

On my phone (Gmail app), they wrap at 70 characters horizontally, but on a
narrower vertical screen, it's pretty ugly, because of the hard line break
at 70 characters:

--

This is a reminder, sent out once a month, about your
discussion list
subscriptions at the XX (xxx.xx.xxx) website.

You can visit https://xxx.xx.xxx/x to change
your
subscription settings for any list. You will need to login to
the
website first using the "Sign in" link at the top right of any
page.
Be sure that you login as the user whose email address
matches your
list subscription.

--

The only solution I can think of is to insert hard breaks in cronpass.txt
around the 50-character mark but I'm hoping there's a better way. (I know,
upgrade to Mailman 3. It's slowly working its way up the to-do list.)

This is Mailman 2.1.38 on cPanel.



-- 
===
Russell Clemings

===
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


Re: [Mailman-Users] line breaks

2007-02-26 Thread Mark Sapiro
Sean wrote:
>
>Basically, they report messages coming through the list with odd line
>breaks.  For example:
>
> This is the text of their message.  After it is received from the list it
> places
> a line break so that some lines only contain one word and a new line
> starts.
>
>They feel it is the list doing this as they report the message looks fine
>when they send it to themselves.


At least in some cases, the problem is the original message is sent as
RFC 3676 format="flowed". In this format, the sending MUA creates
'paragraphs' and arbitrarily wraps lines at space characters leaving
trailing spaces in wrapped lines to indicate they should be joined to
the following line. The receiving MUA is supposed to rejoin the flowed
lines and then wrap them to its own display width, but Mailman, in the
process of adding message header and/or footer, and in the process of
scrubbing (if scrub-nondigest is Yes), removes the format="flowed"
parameter from the Content-Type: header, so the receiving MUA thinks
the format is "fixed".

I am currently testing a fix for this problem. See the bug report at

for further information and a patch.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] line breaks

2007-02-26 Thread Sean

This is probably an old topic to this list but I'm at a loss of how to
explain the issue to some my mailman list users.

Basically, they report messages coming through the list with odd line
breaks.  For example:

 This is the text of their message.  After it is received from the list it
 places
 a line break so that some lines only contain one word and a new line
 starts.

They feel it is the list doing this as they report the message looks fine
when they send it to themselves.

As I understand it has to do with the display system and how the mail is
composed.  Some mail clients will send the paragraph as one long line with
a line break at the end of it, while some mail clients put a new line at
the end of each line.  Then the display system may have less columns than
than where the new line is placed at and thus results in the mangled
text.

Does that sound right?  Any feedback on the issue is welcomed and
appreciated.

Thanks,
Sean


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp