Re: [rt-users] Only Plain Text Mails.
Hi All, Could any one response me as i am still facing problem ? On Fri, Jun 5, 2009 at 7:16 PM, Rana Tanveer wrote: > Hi all > > I need expert opinion regarding either i have to modify templates or > config file or both for my text/html problem? > > Rana Tanveer > -- - Rana Tanveer +923224194457 http://www.sysadminsline.com - ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Only Plain Text Mails.
Hi all I need expert opinion regarding either i have to modify templates or config file or both for my text/html problem? Rana Tanveer ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Only Plain Text Mails.
Hi I have added Content-Type: text/html below to RT-Attach-Message: Yes like: RT-Attach-Message: Yes Content-Type: text/html Now RT is sending mails in html but behavior of ticket creation and replies is changed. is there any way to use Content-Type: text/html in templates so default behavoviour dies not change. now i am getting mails like this. = ... To: undisclosed-recipients:; This is a multi-part message in MIME format... =_1244127537-8544-41 Content-type: multipart/alternative; boundary="--=_1244127537-8544-40" Content-Transfer-Encoding: 8bit This is a multi-part message in MIME format... =_1244127537-8544-40 RT-Attach-Message: Yes Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 =_1244127537-8544-40 Content-Type: text/html; charset="utf-8" X-RT-Original-Encoding: utf-8 https://ticket.mypublicdomain.com/Ticket/Display.html?id=34104 > =_1244127537-8544-40-- =_1244127537-8544-41 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 7bit RT-Attachment: 34104/955621/1213614 AOA Sir, This is test message =_1244127537-8544-41 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 7bit RT-Attachment: 34104/955621/1213615 [Attachment stripped: Original attachment type: "application/zip", name: "HEALTH CARDS SCAN 01.zip"] =_1244127537-8544-41-- I have tried different methods mentioned in wiki of templates but no help. can someone guide how to set the templates ? or RT 3.8.2 is buggy ? as these kind of problem never come in any previous versions. On Tue, Jun 2, 2009 at 6:18 AM, Rana Tanveer wrote: > > Hi Kavin > > > I have tried hard to implement according to your advise. but unfortunately it > does not work or may i did something wrong. > > http://code.bestpractical.com/bps-public/rt/3.8/trunk/docs/templates.pod > > can you please give me some exact example so that i use that with little > modification. > > I have spent 10 hours for this task to sent mails in text/html. > > i am thinking about to modify SendEmail.pm, as this was not the right way to > deal with so i did not change this file. as it is clearly mentioned here that > for security reason we only send textual mails. > > can you please help ? > > Part of the > > /usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm > > # For security reasons, we only send out textual mails. > foreach my $part ( grep !$_->is_multipart, $MIMEObj->parts_DFS ) { > . > . > . > > On May 31, 2009, at 12:32 AM, Rana Tanveer wrote: > > > I am using RT 3.8.2, but RT is sending only plain text messages. > > Please read docs/templates.pod in your RT tarball which > describes the steps necessary to generate outgoing HTML > email (the settings below only affect display of mail within > RT) > > -kevin > > > > > > i used below setting but same result. > > > > Set($PreferRichText, 1); > > Set($MessageBoxRichText, 1); > > Set($MessageBoxRichTextHeight, 200); > > > > I even try to search mailing lists but no luck. > > > > could anyone guide me what is wrong, or what might should i have to > > use ? > > > > -- > > - > > Rana Tanveer > > +923224194457 > > http://www.sysadminsline.com > > - > > On Sun, May 31, 2009 at 10:32 AM, Rana Tanveer wrote: >> >> Hi Every one. >> >> I am using RT 3.8.2, but RT is sending only plain text messages. >> >> i used below setting but same result. >> >> Set($PreferRichText, 1); >> Set($MessageBoxRichText, 1); >> Set($MessageBoxRichTextHeight, 200); >> >> I even try to search mailing lists but no luck. >> >> could anyone guide me what is wrong, or what might should i have to use ? >> -- >> - >> Rana Tanveer >> +923224194457 >> http://www.sysadminsline.com >> - > > > -- > - > Rana Tanveer > +923224194457 > http://www.sysadminsline.com > - -- - Rana Tanveer +923224194457 http://www.sysadminsline.com - ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Only Plain Text Mails.
On Jun 1, 2009, at 8:18 PM, Rana Tanveer wrote: > Hi Kavin > > > I have tried hard to implement according to your advise. but > unfortunately it does not work or may i did something wrong. > http://code.bestpractical.com/bps-public/rt/3.8/trunk/docs/templates.pod > > can you please give me some exact example so that i use that with > little modification. > > I have spent 10 hours for this task to sent mails in text/html. You appear to have missed the important part of that URL =item Content-Type: text/html The special header "Content-Type: text/html" tells RT that the template should be parsed as HTML. RT will automatically make the outgoing message multipart. That way, recipients who can read only plaintext email will receive something readable, while users with clients which can display HTML will receive the full experience. Please be aware that HTML support in mail clients varies greatly, much more so than different web browsers. We welcome contributions of HTML-ization of builtin templates. =back You didn't provide examples of what you tried, which makes it difficult to tell you what broke. -kevin > > > i am thinking about to modify SendEmail.pm, as this was not the > right way to deal with so i did not change this file. as it is > clearly mentioned here that for security reason we only send textual > mails. > > can you please help ? > > Part of the > /usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm > # For security reasons, we only send out textual mails. > foreach my $part ( grep !$_->is_multipart, $MIMEObj->parts_DFS ) { > . > . > . > > On May 31, 2009, at 12:32 AM, Rana Tanveer wrote: > > > I am using RT 3.8.2, but RT is sending only plain text messages. > > Please read docs/templates.pod in your RT tarball which > describes the steps necessary to generate outgoing HTML > email (the settings below only affect display of mail within > RT) > > -kevin > > > > > > i used below setting but same result. > > > > Set($PreferRichText, 1); > > Set($MessageBoxRichText, 1); > > Set($MessageBoxRichTextHeight, 200); > > > > I even try to search mailing lists but no luck. > > > > could anyone guide me what is wrong, or what might should i have to > > use ? > > > > -- > > - > > Rana Tanveer > > +923224194457 > > http://www.sysadminsline.com > > - > > On Sun, May 31, 2009 at 10:32 AM, Rana Tanveer > wrote: > Hi Every one. > > I am using RT 3.8.2, but RT is sending only plain text messages. > > i used below setting but same result. > > Set($PreferRichText, 1); > Set($MessageBoxRichText, 1); > Set($MessageBoxRichTextHeight, 200); > > I even try to search mailing lists but no luck. > > could anyone guide me what is wrong, or what might should i have to > use ? > > -- > - > Rana Tanveer > +923224194457 > http://www.sysadminsline.com > - > > > > -- > - > Rana Tanveer > +923224194457 > http://www.sysadminsline.com > - > ___ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Only Plain Text Mails.
Hi Kavin I have tried hard to implement according to your advise. but unfortunately it does not work or may i did something wrong. http://code.bestpractical.com/bps-public/rt/3.8/trunk/docs/templates.pod can you please give me some exact example so that i use that with little modification. I have spent 10 hours for this task to sent mails in text/html. i am thinking about to modify SendEmail.pm, as this was not the right way to deal with so i did not change this file. as it is clearly mentioned here that for security reason we only send textual mails. can you please help ? Part of the /usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm # For security reasons, we only send out textual mails. foreach my $part ( grep !$_->is_multipart, $MIMEObj->parts_DFS ) { . . . On May 31, 2009, at 12:32 AM, Rana Tanveer wrote: > I am using RT 3.8.2, but RT is sending only plain text messages. Please read docs/templates.pod in your RT tarball which describes the steps necessary to generate outgoing HTML email (the settings below only affect display of mail within RT) -kevin > > i used below setting but same result. > > Set($PreferRichText, 1); > Set($MessageBoxRichText, 1); > Set($MessageBoxRichTextHeight, 200); > > I even try to search mailing lists but no luck. > > could anyone guide me what is wrong, or what might should i have to > use ? > > -- > - > Rana Tanveer > +923224194457 > http://www.sysadminsline.com > - On Sun, May 31, 2009 at 10:32 AM, Rana Tanveer wrote: > Hi Every one. > > I am using RT 3.8.2, but RT is sending only plain text messages. > > i used below setting but same result. > > Set($PreferRichText, 1); > Set($MessageBoxRichText, 1); > Set($MessageBoxRichTextHeight, 200); > > I even try to search mailing lists but no luck. > > could anyone guide me what is wrong, or what might should i have to use ? > > -- > - > Rana Tanveer > +923224194457 > http://www.sysadminsline.com > - > -- - Rana Tanveer +923224194457 http://www.sysadminsline.com - ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Only Plain Text Mails.
On May 31, 2009, at 12:32 AM, Rana Tanveer wrote: > I am using RT 3.8.2, but RT is sending only plain text messages. Please read docs/templates.pod in your RT tarball which describes the steps necessary to generate outgoing HTML email (the settings below only affect display of mail within RT) -kevin > > i used below setting but same result. > > Set($PreferRichText, 1); > Set($MessageBoxRichText, 1); > Set($MessageBoxRichTextHeight, 200); > > I even try to search mailing lists but no luck. > > could anyone guide me what is wrong, or what might should i have to > use ? > > -- > - > Rana Tanveer > +923224194457 > http://www.sysadminsline.com > - > ___ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sa...@bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Only Plain Text Mails.
Hi Every one. I am using RT 3.8.2, but RT is sending only plain text messages. i used below setting but same result. Set($PreferRichText, 1); Set($MessageBoxRichText, 1); Set($MessageBoxRichTextHeight, 200); I even try to search mailing lists but no luck. could anyone guide me what is wrong, or what might should i have to use ? -- - Rana Tanveer +923224194457 http://www.sysadminsline.com - ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com