From thomasbleau at hotmail.com Mon Apr 3 22:22:06 2006 From: thomasbleau at hotmail.com (thomasbleau@hotmail.com) Date: Tue Apr 4 16:04:26 2006 Subject: [cvsspam-devel] HTML formating with Lotus Notes Message-ID: Hello, i have a problem with the html formatting when sending a message. The message don't have the backgroud colors. I am using Lotus Notes and it seem that Lotus Notes can't interpret tag html like : ... where "added" is a stype with a "background-color" directive. Lotus Notes work very well with some tag like : ....
...
where background color is well showed. So an improvement would be to modify cvsspam for compatibility with Lotus Notes. The solution is to use tag for the "diff" sections of the mail. I would like to know if someone has made this modification. Thanks by advance. Thomas. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20060404/0660a093/attachment.htm From glen at starretthome.net Tue Apr 4 18:03:54 2006 From: glen at starretthome.net (Glen Starrett) Date: Tue Apr 4 18:04:33 2006 Subject: [cvsspam-devel] HTML formating with Lotus Notes In-Reply-To: References: Message-ID: <4432B50A.4080805@starretthome.net> You're proposing moving backward in HTML compatibility to support a specific email client. I would suggest you contact Lotus and request that they support HTML 4.01 with their client. The SPAN tag has been around since 1997! Regards, Glen Starrett thomasbleau@hotmail.com wrote: > Hello, i have a problem with the html formatting when sending a > message. The message don't have the backgroud colors. > > I am using Lotus Notes and it seem that Lotus Notes can't interpret > tag html like : > > ... where "added" is a stype with a > "background-color" directive. > > Lotus Notes work very well with some tag like : > >
....
...
where background > color is well showed. > > So an improvement would be to modify cvsspam for compatibility with > Lotus Notes. The solution is to use tag for the "diff" > sections of the mail. > > I would like to know if someone has made this modification. > Thanks by advance. > Thomas. > > > >------------------------------------------------------------------------ > >_______________________________________________ >cvsspam-devel mailing list >cvsspam-devel@lists.badgers-in-foil.co.uk >http://lists.badgers-in-foil.co.uk/mailman/listinfo/cvsspam-devel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20060404/c30973f2/attachment.html From aselle at stanford.edu Sun Apr 16 23:25:49 2006 From: aselle at stanford.edu (aselle@stanford.edu) Date: Sun Apr 16 23:26:51 2006 Subject: [cvsspam-devel] UTC Time on SMTP Send Message-ID: <20060416232549.GA19039@graphics.stanford.edu> First of all let me say that cvsspam is awesome, thanks for developing it! It was bothering me that cvsspam produced a date header that was in UTC because of a limitation in strftime, but the time extension package seems to have a rfc822 formatter anyways. So here's a patch to cvsspam.rb that uses that instead: Thanks, Andy *** /tmp/cvsspam-0.2.12/cvsspam.rb 2005-07-11 08:53:29.000000000 -0700 --- CVSROOT/cvsspam.rb 2006-04-16 16:18:39.000000000 -0700 *************** *** 19,26 **** --- 19,27 ---- $version = "0.2.12" + require 'time' $maxSubjectLength = 200 $maxLinesPerDiff = 1000 $maxDiffLineLength = 1000 # may be set to nil for no limit *************** *** 34,45 **** def min(a, b) a") ctx.header("From", from.encoded) if from ! ctx.header("Date", Time.now.utc.strftime(DATE_HEADER_FORMAT)) yield ctx end end end --- 1765,1773 ---- ctx = MailContext.new(IOAdapter.new(mail)) ctx.header("To", recipients.map{|addr| addr.encoded}.join(',')) blah("Mail From: <#{from}>") ctx.header("From", from.encoded) if from ! ctx.header("Date", Time.now.rfc2822) yield ctx end end end From dave at badgers-in-foil.co.uk Sun Apr 16 23:57:29 2006 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Sun Apr 16 23:57:41 2006 Subject: [cvsspam-devel] UTC Time on SMTP Send In-Reply-To: <20060416232549.GA19039@graphics.stanford.edu> References: <20060416232549.GA19039@graphics.stanford.edu> Message-ID: <20060416235728.GA16722@badgers-in-foil.co.uk> On Sun, Apr 16, 2006 at 04:25:49PM -0700, aselle@stanford.edu wrote: > First of all let me say that cvsspam is awesome, thanks for developing > it! It was bothering me that cvsspam produced a date header that was > in UTC because of a limitation in strftime, but the time extension > package seems to have a rfc822 formatter anyways. So here's a patch > to cvsspam.rb that uses that instead: Thanks! Patch applied! ta much, dave -- http://david.holroyd.me.uk/ From citrin at citrin.ru Thu Apr 27 11:38:17 2006 From: citrin at citrin.ru (Anton Yuzhaninov) Date: Thu Apr 27 11:38:41 2006 Subject: [cvsspam-devel] plain text mail Message-ID: <1336545232.20060427153817@citrin.ru> Hello. Some console clients don't understand html. In TODO I see: support non-html mail too (text/plain, multipart/alternative) This is very useful feature. Is written any code to this? -- WBR, Anton Yuzhaninov. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1781 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20060427/b9313ca9/smime.bin From dave at badgers-in-foil.co.uk Thu Apr 27 13:30:58 2006 From: dave at badgers-in-foil.co.uk (David Holroyd) Date: Thu Apr 27 13:31:28 2006 Subject: [cvsspam-devel] plain text mail In-Reply-To: <1336545232.20060427153817@citrin.ru> References: <1336545232.20060427153817@citrin.ru> Message-ID: <20060427133058.GB22323@badgers-in-foil.co.uk> On Thu, Apr 27, 2006 at 03:38:17PM +0400, Anton Yuzhaninov wrote: > Some console clients don't understand html. > > In TODO I see: > support non-html mail too (text/plain, multipart/alternative) > > This is very useful feature. > > Is written any code to this? There is currently no code to do this. CVSspam is not very well written in this respect -- the output-generating code is all mixed together with the input-processing code. Yuk! :( Are you interested in implementing such a feature? I've been meaning to, but never quite get around to it... dave -- http://david.holroyd.me.uk/ From rmccullough at rightnow.com Thu Apr 27 15:52:38 2006 From: rmccullough at rightnow.com (McCullough, Ryan) Date: Thu Apr 27 15:53:35 2006 Subject: [cvsspam-devel] plain text mail Message-ID: <754F650D83706542B09D4AA7A201B2EA177B0D@RNT-BOZ-0201.corp.rightnow.com> The way I understand it, the html email message is built while files are being checked in, correct? So you would need to build the email message after all files are checked in, or build the html mime part and then feed that into lynx (or something similar) to output text that can be used in a plain text mime part. Im thinking for the time being option 2 would be easier to implement. -Ryan -----Original Message----- From: cvsspam-devel-bounces@lists.badgers-in-foil.co.uk [mailto:cvsspam-devel-bounces@lists.badgers-in-foil.co.uk] On Behalf Of David Holroyd Sent: Thursday, April 27, 2006 7:31 AM To: cvsspam-devel@lists.badgers-in-foil.co.uk Subject: Re: [cvsspam-devel] plain text mail On Thu, Apr 27, 2006 at 03:38:17PM +0400, Anton Yuzhaninov wrote: > Some console clients don't understand html. > > In TODO I see: > support non-html mail too (text/plain, multipart/alternative) > > This is very useful feature. > > Is written any code to this? There is currently no code to do this. CVSspam is not very well written in this respect -- the output-generating code is all mixed together with the input-processing code. Yuk! :( Are you interested in implementing such a feature? I've been meaning to, but never quite get around to it... dave -- http://david.holroyd.me.uk/ _______________________________________________ cvsspam-devel mailing list cvsspam-devel@lists.badgers-in-foil.co.uk http://lists.badgers-in-foil.co.uk/mailman/listinfo/cvsspam-devel -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3038 bytes Desc: not available Url : http://lists.badgers-in-foil.co.uk/pipermail/cvsspam-devel/attachments/20060427/32d22fdb/smime.bin