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.
SMTPSocket-data.st
Description: Binary data