Interesting. Is this with the latest version of ComSwiki. It's fixed in 
my developer's version, so either way it will be fixed by the next 
revision if it isn't already.

Peace and Luck!

Je77

On Sun, Mar 17, 2002 at 01:03:24PM +0900, Eiichiro Ito wrote:
> In a following message and Swiki Buglist(http://minnow.cc.gatech.edu/swiki/78)
> >From: [EMAIL PROTECTED]
> >Subject: [pws] Email Alert Problem(bare LF)
> 
> Swiki can't send e-mail alerts when it uses qmail MTA as alertServer.
> Other MTA may not occur this, but I think that this is not qmail's
> problem but Swiki's problem.
> 
> This problem is:
> 1. Swiki reads alert mail body from a template file.
> 2. When reading a line in LineFormatter,
>    it converts a line separator CR to CR+LF in TextFormatter/crToCrlf:.
> 3. But when Swiki sends alert mail in SMTPSocket/data:,
>    it uses CR as a line separator and adds CR+LF to line
>    in SimpleClientSocket/sendCommand:.
> 4. As a result, Swiki sends a line with CR+LF+LF to MTA and qmail claims
>    that second LF is bare LF.
> 
> I made a quick patch for this problem and attached this post.
> This patch is for SMTPSocket/data:, but may have to correct
> LineFormatter.
> 


Reply via email to