FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » "wordwrap" in messages sent to mailman list
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
"wordwrap" in messages sent to mailman list [message #26548] Tue, 26 July 2005 22:06 Go to previous message
tymp is currently offline  tymp   United States
Messages: 13
Registered: July 2005
Karma:
Junior Member
Hi,

I had a confusion about the way that 'wordwrap' works in fudforum. I guess i understand now (the feature in admin/global settings is to prevent long 'words' in the forum), but the way i usually think of wordwrap relates to text documents and email (adding a space to break up long character strings does something like what i think of as 'hard wrap', where as the more common 'soft wrap' would limit the length of text lines by 'wrapping' at word boundaries near a line-length-limit).

The problem i had was that messages posted to the forum and sent to mailman had no line-breaks, so the screen side-scrolled for the length of each paragraph. My hack solution was changing the last line in include/mlist_post.php to
send_email($from, $list_email, $subject, wordwrap($final_body), $header);

And this seems to work for me.

This seems like it would a useful configuarable feature. Well, maybe i just missed something, or, do you think of this as the responsibility of the mailing list manager? According to http://mail.python.org/pipermail/mailman-users/2002-September/022335.html it is considered a user-agent issue.

I dunno. Thought i'd ask/share.

cheers. fudforum is pretty freaking amazing.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Who adds the In-Reply To
Next Topic: Smileys wrapping in msg-posting window
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 13:34:27 GMT 2024

Total time taken to generate the page: 0.04976 seconds