Where do I change Subject string length

User sends an email with this subject... Duplicated filenames when I'm trying to capture ! It OTRS, it becomes... [Tkt#: 1267] Re: Duplicated filenames when I'm [...] Where do I make a change to the config so that the subject heading's text is not truncated? -- Wes Plate Automatic Duck, Inc. http://www.wesplate.com http://www.automaticduck.com

Am Sa, 2004-03-06 um 16.50 schrieb Wes Plate:
User sends an email with this subject... Duplicated filenames when I'm trying to capture !
It OTRS, it becomes... [Tkt#: 1267] Re: Duplicated filenames when I'm [...]
Where do I make a change to the config so that the subject heading's text is not truncated?
Hi. I don't know if there is a config option, but at our installation of otrs we changed it directly in the code. Normally the subject is truncated after 30 characters, here we changed it to 60. These are the places where you can change it: /opt/otrs/Kernel/Modules/AgentBounce.pm:146: $Article{Subject} =~ s/^(.{30}).*$/$1 [...]/; /opt/otrs/Kernel/Modules/AgentCompose.pm:216: $Data{Subject} =~ s/^(.{30}).*$/$1 [...]/; /opt/otrs/Kernel/Modules/AgentForward.pm:173: $Data{Subject} =~ s/^(.{30}).*$/$1 [...]/; Just change the 30 to a different number. You will probably have to restart you webserver after making the changes. Cheers Stefan

On 3/6/04 9:02 AM, "Stefan Bedorf" wrote:
Can you try sending your reply again, Stefan? Thanks. -- Wes Plate Automatic Duck, Inc. http://www.wesplate.com http://www.automaticduck.com

Am Sa, 2004-03-06 um 17.30 schrieb Wes Plate:
On 3/6/04 9:02 AM, "Stefan Bedorf" wrote:
Can you try sending your reply again, Stefan? Thanks. Hi.
I hope it works this time. Had my mail client configured just before.. I don't know if there is a config option, but at our installation of otrs we changed it directly in the code. Normally the subject is truncated after 30 characters, here we changed it to 60. These are the places where you can change it: /opt/otrs/Kernel/Modules/AgentBounce.pm:146: $Article{Subject} =~ s/^(.{30}).*$/$1 [...]/; /opt/otrs/Kernel/Modules/AgentCompose.pm:216: $Data{Subject} =~ s/^(.{30}).*$/$1 [...]/; /opt/otrs/Kernel/Modules/AgentForward.pm:173: $Data{Subject} =~ s/^(.{30}).*$/$1 [...]/; Just change the 30 to a different number. You will probably have to restart you webserver after making the changes. Cheers Stefan

On Saturday, March 06, 2004 7:30 PM
Stefan Bedorf
Am Sa, 2004-03-06 um 17.30 schrieb Wes Plate:
On 3/6/04 9:02 AM, "Stefan Bedorf" wrote:
Can you try sending your reply again, Stefan? Thanks. Hi.
I hope it works this time. Had my mail client configured just before..
Du siehst an den Quotings, dass Evolution es zwar gut meint - aber gut gemeint ist leider nie gut. ;) Sorry für die harten Worte, aber: Niemand benötigt HTML-Formatierungen auf Mailing-Listen. Deine Nachrichten sind ungefähr doppelt so lang wie text/plain (Nur-Text) und nicht besser, sondern oft nur schlechter lesbar. Natürlich darfst Du weiterhin HTML in Deinen Nachrichten verwenden, keine Frage, die Welt scheint frei zu sein, aber Du selber wirst text/plain zu schätzen wissen - das ist wie mit Bleistift auf Papier, nur schneller. ;) Mein Tipp und Fazit also: Tu' Dir selber (und der Liste, btw) einen Gefallen und versuche, Evolution dazu zu überreden, für die Mailing Listen wenigstens des OTRS das Format text/plain zu nutzen. Bei weiteren Fragen schreib' mir eine PM. Fröhlich grüßt Robert Kehl -- Koemann. Der heißt schon so. Dem würde ich auch nicht über den Weg trauen! Heribert Faßbender

On Saturday, March 06, 2004 10:34 PM
Robert Kehl

On 3/6/04 1:40 PM, "Robert Kehl" wrote:
[a german text adressing the english speaking mailing list] => BANG!
Thankfully Sherlock in OS X has a translation feature. I got the point of your message. -- Wes Plate Automatic Duck, Inc. http://www.wesplate.com http://www.automaticduck.com

Am Sa, 2004-03-06 um 21.34 schrieb Robert Kehl:
...Freundlich ausgedrückter 'Anschiss'... ;-)
Hi. Sorry dafür, ich hab leider auch erst gemerkt was Evolution verzapft hat, als Wes die Antwort nicht lesen konnte und ich daraufhin in den Quelltext der Mail geschaut habe. Hätte nie gedacht, dass mir als text/plain-Vertreter sowas mal passieren würde... Und das natürlich beim ersten Posting hier auf der Liste :-( Weisst Du zufällig, wie ich Evolution das HTML wirksam austreiben kann? Ich hatte eigentlich schon vorher alles ausgestellt was mit HTML zu tun hat, aber anscheinend ist ihm das egal. Naja, im Zweifelsfall kommen die nächsten Postings dann halt über Squirrelmail, der verschickt Mails wenigstens so, wie ich ihm das eingestellt habe. Gruss Stefan

Aargh. Sorry, sorry, sorry I should really go to bed instead of confusing 'subject' and 'to' when writing mails. Regards Stefan Bedorf

On 3/6/04 6:27 PM, "Stefan Bedorf" wrote:
Aargh.
Sorry, sorry, sorry
Good news is, we can finally read your posts. -- Wes Plate Automatic Duck, Inc. http://www.wesplate.com http://www.automaticduck.com

On 3/6/04 10:30 AM, "Stefan Bedorf" wrote:
Damned HTML. I was able to view the source of the email, and I found your text. Thanks.
Can you try sending your reply again, Stefan? Thanks. Hi.
I hope it works this time. Had my mail client configured just before..
I don't know if there is a config option, but at our installation of otrs we changed it directly in the code. Normally the subject is truncated after 30 characters, here we changed it to 60. These are the places where you can change it:
/opt/otrs/Kernel/Modules/AgentBounce.pm:146: $Article{Subject} =~ s/^(.{30}).*$/$1 [...]/; /opt/otrs/Kernel/Modules/AgentCompose.pm:216: $Data{Subject} =~ s/^(.{30}).*$/$1 [...]/; /opt/otrs/Kernel/Modules/AgentForward.pm:173: $Data{Subject} =~ s/^(.{30}).*$/$1 [...]/;
Just change the 30 to a different number. You will probably have to restart you webserver after making the changes.
Cheers Stefan
-- Wes Plate Automatic Duck, Inc. http://www.wesplate.com http://www.automaticduck.com
participants (3)
-
Robert Kehl
-
Stefan Bedorf
-
Wes Plate