[TYPO3-core] Another patch request for t3lib_htmlmail

Michael Stucki michael at typo3.org
Fri Jan 27 12:38:00 CET 2006


Hi Martin,

> I have posted it on dev a long time ago. It has to do with the server OS
> and Outlook2003:
> 
> By definition you have to use local linefeed when you subit mails via
> sendmail (or Postfix) which is \n on Unix and used by mail() on Unix. But
> you have to use Internet line feed (always \r\n) when talking to a SMTP
> server directly which is what happens with mail() on Windows.
> 
> For some unknown reason Outlook2003 garbles the mail when you do it not as
> described. I think other clients simple ignore the extra linefeeds the
> unpatched TYPO3 produces, but Outlook2003 doesn't.

Ah, this makes sense. Just one thing:
I think it is also possible to use the SMTP functions instead of sendmail on
Unix(?) So in that case, I think the check should not test for
TYPO3_OS==WIN but simply if that feature is enabled.

If that is not possible, then your change is fine, I will incorporate it in
my patch.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list