Add php's wordwrap() function to Listhandler's mail output so mail is more easily read in mailing list archives. Patch displayed and file attached...

--- listhandler.module	2006-07-01 22:59:07.000000000 -0500
+++ listhandler.module.mod	2006-07-02 03:31:55.000000000 -0500
@@ -273,11 +273,11 @@
       $subject = mail_html_to_text($edit['subject']);
       $body = mail_html_to_text($edit['comment']);
     }
     else {
       $subject = strip_tags($edit['subject']);
-      $body = strip_tags($edit['comment']);
+      $body = wordwrap(strip_tags($edit['comment']));
     }
 
     $err = user_mail($address, $subject, $body, "From: ". $edit["name"] ." <". $edit["mail"] .">\n". $mid);
     // save comment ids in listhandler table.
     // Not strictly needed, the same info is stored in the msgid.
CommentFileSizeAuthor
listhandler.module.patch.txt650 bytesamessina

Comments

amessina’s picture

Status: Active » Needs review
philipnet’s picture

Status: Needs review » Postponed

I'm not going to implement this unless there is demand for it.

Listhandler doesn't target mail archives, it targets mailing lists and email clients.

Regards.

P.

philipnet’s picture

Status: Postponed » Closed (fixed)

Closing request.