[rt-users] long lines on email submission...

Jesse Vincent jesse at bestpractical.com
Thu Sep 6 15:24:16 EDT 2001


Yeah. It involves Text::Wrapper.  This change to Elements/ShowTransaction 
will be in 2.0.7:

29,30c33,37
< %   if ($message->ContentType =~ m{^(text/plain|message|text$)}i && length($message->Content)<13456) {
< <pre><% $message->Content %></pre>
---
> %   if ($message->ContentType =~ m{^(text/plain|message|text$)}i && 
> %	length($message->Content)<13456) {
> % use Text::Wrapper;
> % my $wrapper = new Text::Wrapper (columns=>85);
> <% $wrapper->wrap( $message->Content) %>
31a39,42
> % else {
>  
> % }
> </PRE>






On Thu, Sep 06, 2001 at 03:08:17PM -0400, Ayan R. Kayal wrote:
> I am using a web-based form for users to input tickets into RT. Basically,
> they input a subject and details of their problem, and the webpage emails
> into the RT system according to whatever queue the problem should be in.
> However, whenever a user submits a ticket, no line breaks are inserted into
> the message they write, requiring the watchers to scroll to the right to see
> what the user wrote. Does anyone know of an easy fix for this?
> 
> O-                         ~ARK
> 
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list