On Fri, Oct 17, 2003 at 04:46:13PM +0200, Frank Slootweg wrote: > Corinna Vinschen" <[EMAIL PROTECTED]> wrote: > > On Fri, Oct 17, 2003 at 03:30:39PM +0200, Frank Slootweg wrote: > [deleted] > > > So my problem is solved, but what about the generic problem? IMO > > > ssmtp in a Cygwin environment should be able to handle DOS format > > > data. AFAIK, there are (POSIX? XPG?) standards for opening a stream > > > in text mode, which should make things compatible between ('DOS' and > > > UNIX) platforms. > [...] > So I think that > ssmtp is somewhat unique and somewhat 'broken'.
I've took some time to investigate the situation and I have to say that I can't reproduce your effect. I created an appropriate testfile from your template and regardless of having the file on a textmode mount or a binmode mount, regardless of the shell in which I call `ssmtp -t < file' and regardless if the file has LF or CRLF lineendings, ssmpt always got that right. Especially I found that ssmtp already opens the file in textmode (yeah, I didn't remember) so the problem you found is even more weird. Which means, I'll not change anything unless somebody (you?) can explain what *exactly* goes wrong. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/