|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
How to enable HTML trmplates in RTI am using RT 3.8 installed in Debian Lenny. I changed my default templates to html. but I am getting mails in plain text. When i receive mails, header shows 'Content-Type: text/plain; charset="utf-8"'.After a long search I came to know that due to security RT enabled only text/plain. how can i enable html email in RT. Thanks for any help in advance -Praveen- http://windows.microsoft.com/shop Find the right PC for you. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales@... Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com |
||||||||||||||||||||||||||||
|
|
Re: How to enable HTML trmplates in RTAll I did was setup the templates as shown in the example below;
Subject: Resolved: {$Ticket->Subject} Content-Type: text/html Content: <table border="0" cellpadding="0" width="644"> <tr> <td colspan=2 height="53"><p><font face="Verdana" size="2">You logged a job (SR#) with the Sitel IT Service Desk which we believe we have now resolved, please take the time to complete a short survey in relation to that job.<br /> </font><td height="53"> <tr> <td><font face="Verdana" size="2"><b>Sitel users please click below</b><br /> <a target="_blank" href="http://i3/pages/surveys/it_servicedesk_satisfaction.asp?rtid={$Ticket->id}"> <img border="0" src="http://10.67.1.138:8004/images/buttons/begin_survey.gif" alt="Begin Survey" width="150" height="53"></a> <br></font></td> <td><font face="Verdana" size="2"><b>Genesis users please click below</b><br /> <a target="_blank" href="http://10.67.1.138:8004/pages/surveys/it_servicedesk_satisfaction.asp?rtid={$Ticket->id}"> <img border="0" src="http://10.67.1.138:8004/images/buttons/begin_survey.gif" alt="Begin Survey"width="150" height="53"></a> <br> </font> </td></tr> <tr> <td colspan="2"><font face="Verdana" size="2">If the job has not been resolved or you have any further questions or concerns, please reply to this message or call us on extension 7804 (+64 7 838 7804)<br> </font></td> </tr> <tr><font face="Verdana" size="6"><br> <br> <b>Note: Any replies to this email will reopen the job</b></font> </p> <font face="Verdana" size="2"></td> </font> </tr> <tr> <td><p><font face="Verdana" size="2"><b><br> S<font color="red">i</font>tel NZ Information Technology</b><br> Level 3, ASB Building<br> 500 Victoria Street<br> Hamilton, New Zealand<br> +64 7 838 7804</font></p></td> </tr> </table> Then clearly adjusted the scrips to fire off the amended template. This one was for OnResolve. -- Regards Aaron On Mon, Nov 9, 2009 at 6:11 PM, Praveen Velu <praveen.velu@...> wrote:
-- Regards, Aaron _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales@... Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com |
||||||||||||||||||||||||||||
|
|
Re: How to enable HTML trmplates in RTThanks for your quick help. I added same template for testing. Still I am getting mails in text/plain format. Is there any settings I have to do for enable html in request tracker 3.8. If I reply to a mail from rt web interface by adding any hyper-links to body. I am not getting any hyper-links at receiving end. -Praveen- Subject: Resolved: {$Ticket->Subject} Content-Type: text/html Content: <table border="0" cellpadding="0" width="644"> <tr> <td colspan=2 height="53"><p><font face="Verdana" size="2">You logged a job (SR#) with the Sitel IT Service Desk which we believe we have now resolved, please take the time to complete a short survey in relation to that job.<br /> </font><td height="53"> <tr> <td><font face="Verdana" size="2"><b>Sitel users please click below</b><br /> <a target="_blank" href="http://i3/pages/surveys/it_servicedesk_satisfaction.asp?rtid={$Ticket->id}"> <img border="0" src="http://10.67.1.138:8004/images/buttons/begin_survey.gif" alt="Begin Survey" width="150" height="53"></a> <br></font></td> <td><font face="Verdana" size="2"><b>Genesis users please click below</b><br /> <a target="_blank" href="http://10.67.1.138:8004/pages/surveys/it_servicedesk_satisfaction.asp?rtid={$Ticket->id}"> <img border="0" src="http://10.67.1.138:8004/images/buttons/begin_survey.gif" alt="Begin Survey"width="150" height="53"></a> <br> </font> </td></tr> <tr> <td colspan="2"><font face="Verdana" size="2">If the job has not been resolved or you have any further questions or concerns, please reply to this message or call us on extension 7804 (+64 7 838 7804)<br> </font></td> </tr> <tr><font face="Verdana" size="6"><br> <br> <b>Note: Any replies to this email will reopen the job</b></font> </p> <font face="Verdana" size="2"></td> </font> </tr> <tr> <td><p><font face="Verdana" size="2"><b><br> S<font color="red">i</font>tel NZ Information Technology</b><br> Level 3, ASB Building<br> 500 Victoria Street<br> Hamilton, New Zealand<br> +64 7 838 7804</font></p></td> </tr> </table> Then clearly adjusted the scrips to fire off the amended template. This one was for OnResolve. -- Regards Aaron On Mon, Nov 9, 2009 at 6:11 PM, Praveen Velu <praveen.velu@...> wrote:
-- Regards, Aaron New Windows 7: Find the right PC for you. Learn more. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales@... Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com |
||||||||||||||||||||||||||||
|
|
Strange Error in RT on OwnerchangeHi RT
Users,
some of my
users report the error below to me in some tickets (all created yesterday 3pm
german time) if they try to take the ticket. Same occurs if they try to change
the owner via Basics.
We are sti´ll
under RT 3.6.5 on Centos. No changes to RT during the last weeks so far i
can remember ;-)
Any idea what
could happen to this tickets?!
Thanks
Torsten
Can't call method "Delete" on an undefined value at /opt/rt3/lib/RT/Ticket_Overlay.pm line 3068.
Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Delete" on an undefined value at /opt/rt3/lib/RT/Ticket_Overlay.pm line 3068.^J') called at /opt/rt3/lib/RT/Ticket_Overlay.pm line 3068
RT::Ticket::SetOwner('RT::Ticket=HASH(0x9cc95f0)', 3372372, 'Give') called at /opt/rt3/local/lib/RT/Interface/Web.pm line 1264
HTML::Mason::Commands::ProcessTicketBasics('TicketObj', 'RT::Ticket=HASH(0x9cc95f0)', 'ARGSRef', 'HASH(0x5e46f30)') called at /opt/rt3/share/html/Ticket/Modify.html line 72
HTML::Mason::Commands::__ANON__('TimeWorked', 0, 'TimeEstimated-TimeUnits', 'minutes', 'Owner', 3372372, 'Object-RT::Ticket-2640283-CustomField-1344-Values-Magic', 1, 'FinalPriority', 0, 'TimeLeft', 0, 'TimeWorked-TimeUnits', 'minutes', 'Status', '', 'id', 2640283, 'TimeLeft-TimeUnits', 'minutes', 'TimeEstimated', 0, 'Subject', 'edi orders not received yet', 'Priority', 0, 'Queue', 495, 'Object-RT::Ticket-2640283-CustomField-1344-Values', '') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x471c360)', 'TimeWorked', 0, 'TimeEstimated-TimeUnits', 'minutes', 'Owner', 3372372, 'Object-RT::Ticket-2640283-CustomField-1344-Values-Magic', 1, 'FinalPriority', 0, 'TimeLeft', 0, 'TimeWorked-TimeUnits', 'minutes', 'Status', '', 'id', 2640283, 'TimeLeft-TimeUnits', 'minutes', 'TimeEstimated', 0, 'Subject', 'edi orders not received yet', 'Priority', 0, 'Queue', 495, 'Object-RT::Ticket-2640283-CustomField-1344-Values', '') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1284
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef, 'TimeWorked', 0, 'TimeEstimated-TimeUnits', 'minutes', 'Owner', 3372372, 'Object-RT::Ticket-2640283-CustomField-1344-Values-Magic', 1, 'FinalPriority', 0, 'TimeLeft', 0, 'TimeWorked-TimeUnits', 'minutes', 'Status', '', 'id', 2640283, 'TimeLeft-TimeUnits', 'minutes', 'TimeEstimated', 0, 'Subject', 'edi orders not received yet', 'Priority', 0, 'Queue', 495, 'Object-RT::Ticket-2640283-CustomField-1344-Values', '') called at /opt/rt3/share/html/autohandler line 291
HTML::Mason::Commands::__ANON__('TimeWorked', 0, 'TimeEstimated-TimeUnits', 'minutes', 'Owner', 3372372, 'Object-RT::Ticket-2640283-CustomField-1344-Values-Magic', 1, 'FinalPriority', 0, 'TimeLeft', 0, 'TimeWorked-TimeUnits', 'minutes', 'Status', '', 'id', 2640283, 'TimeLeft-TimeUnits', 'minutes', 'TimeEstimated', 0, 'Subject', 'edi orders not received yet', 'Priority', 0, 'Queue', 495, 'Object-RT::Ticket-2640283-CustomField-1344-Values', '') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x3dd2940)', 'TimeWorked', 0, 'TimeEstimated-TimeUnits', 'minutes', 'Owner', 3372372, 'Object-RT::Ticket-2640283-CustomField-1344-Values-Magic', 1, 'FinalPriority', 0, 'TimeLeft', 0, 'TimeWorked-TimeUnits', 'minutes', 'Status', '', 'id', 2640283, 'TimeLeft-TimeUnits', 'minutes', 'TimeEstimated', 0, 'Subject', 'edi orders not received yet', 'Priority', 0, 'Queue', 495, 'Object-RT::Ticket-2640283-CustomField-1344-Values', '') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1279
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef, 'TimeWorked', 0, 'TimeEstimated-TimeUnits', 'minutes', 'Owner', 3372372, 'Object-RT::Ticket-2640283-CustomField-1344-Values-Magic', 1, 'FinalPriority', 0, 'TimeLeft', 0, 'TimeWorked-TimeUnits', 'minutes', 'Status', '', 'id', 2640283, 'TimeLeft-TimeUnits', 'minutes', 'TimeEstimated', 0, 'Subject', 'edi orders not received yet', 'Priority', 0, 'Queue', 495, 'Object-RT::Ticket-2640283-CustomField-1344-Values', '') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 473
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 473
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 425
HTML::Mason::Request::exec('HTML::Mason::Request::CGI=HASH(0xccd5000)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/CGIHandler.pm line 190
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/CGIHandler.pm line 190
HTML::Mason::Request::CGI::exec('HTML::Mason::Request::CGI=HASH(0xccd5000)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef, 'TimeWorked', 0, 'TimeEstimated-TimeUnits', 'minutes', 'Owner', 3372372, 'Object-RT::Ticket-2640283-CustomField-1344-Values-Magic', 1, 'FinalPriority', 0, 'TimeLeft', 0, 'TimeWorked-TimeUnits', 'minutes', 'Status', '', 'id', 2640283, 'TimeLeft-TimeUnits', 'minutes', 'TimeEstimated', 0, 'Subject', 'edi orders not received yet', 'Priority', 0, 'Queue', 495, 'Object-RT::Ticket-2640283-CustomField-1344-Values', '') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/CGIHandler.pm line 121
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/CGIHandler.pm line 121
HTML::Mason::CGIHandler::_handler('HTML::Mason::CGIHandler=HASH(0x380d2b0)', 'HASH(0xbac7070)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/CGIHandler.pm line 73
HTML::Mason::CGIHandler::handle_cgi_object('HTML::Mason::CGIHandler=HASH(0x380d2b0)', 'CGI::Fast=HASH(0x6cb07a0)') called at /opt/rt3/bin/mason_handler.fcgi line 78
eval {...} at /opt/rt3/bin/mason_handler.fcgi line 78
Kühne +
Nagel (AG & Co.) KG, Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn,
Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.:
DE 812773878, Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/Luxemburg, Geschäftsführender Verwaltungsrat:
Klaus-Michael Kühne _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales@... Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com |
||||||||||||||||||||||||||||
|
|
Re: Strange Error in RT on Ownerchange> Any idea what could happen to this tickets?!
Something in this chain is returning undef; $self->OwnerGroup->MembersObj Presumably there are no owners to begin with. -- Cambridge Energy Alliance: Save money. Save the planet. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales@... Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com |
||||||||||||||||||||||||||||
|
|
Re: Strange Error in RT on OwnerchangeHi Jerrad,
thanks for the hint, i look into all the tickets with this error (i'm happy, only 6 Tickets) and none of them have a owner, also not owned by NOBODY. After searching my log, i found someone from our operating has restartet one of our webservers at the time this tickets where created. OK, i cloned them to a new, now all is fine. Thanks Torsten Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius (Stellv.), Reiner Heiken (Stellv.), Bruno Mang, Alfred Manke, Christian Marnetté (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne -----Urspruengliche Nachricht----- Von: Jerrad Pierce [mailto:jpierce@...] Gesendet: Dienstag, 10. November 2009 16:54 An: Brumm, Torsten / Kuehne + Nagel / Ham MI-ID Cc: rt-users@... Betreff: Re: [rt-users] Strange Error in RT on Ownerchange > Any idea what could happen to this tickets?! Something in this chain is returning undef; $self->OwnerGroup->MembersObj Presumably there are no owners to begin with. -- Cambridge Energy Alliance: Save money. Save the planet. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales@... Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com |
||||||||||||||||||||||||||||
|
|
Re: How to enable HTML trmplates in RTThis may have some bearing on things, unsure but worth a try.
In RT_SiteConfig.pm make sure to have, if you don't then add these in. Set($TrustHTMLAttachments, 1); Set($PreferRichText, 1); Another thing, not the empty line under Content: If you don't have this blank line the template will not work as HTML. -- Regards Aaron On Tue, Nov 10, 2009 at 6:45 PM, Praveen Velu <praveen.velu@...> wrote:
-- Regards, Aaron _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales@... Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com |
||||||||||||||||||||||||||||
|
|
Re: How to enable HTML trmplates in RTI have added these settings in RT_SiteConfig.pm. Still I am getting mails in plain/text format. I have installed Request tracker 3.8 in Debian Lenny -Praveen- This may have some bearing on things, unsure but worth a try. In RT_SiteConfig.pm make sure to have, if you don't then add these in. Set($TrustHTMLAttachments, 1); Set($PreferRichText, 1); Another thing, not the empty line under Content: If you don't have this blank line the template will not work as HTML. -- Regards Aaron On Tue, Nov 10, 2009 at 6:45 PM, Praveen Velu <praveen.velu@...> wrote:
-- Regards, Aaron Windows 7: Find the right PC for you. Learn more. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales@... Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com |
| Free embeddable forum powered by Nabble | Forum Help |