Re: Double Spacing in Mails from Sendmail
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42873
interpreted = N
texte = > If your test email body has
, upon reading it _in> textmode_ it should> now have and when writing out it will once again have> . Your> scenario doesn't make sense unless you are _reading_ in BIN> mode and _writing_> in TEXT mode. The conversion happens automatically in both> directions if and> only if both reading and writing are TEXT mode.That appears to be the case. The template is originally opened in binarymode. So the body is never 'read in' via a file that was opened in textmode. The sendmail context then opens (creates) the email file viafopen(w) (which defaults to text mode).> -----Original Message-----> From: WebCatalog Talk> [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf> Of John Peacock> Sent: Friday, August 23, 2002 11:21 AM> To: WebCatalog Talk> Subject: Re: Double Spacing in Mails from Sendmail>>> Scott Anderson wrote:> > Straight from the MS docs...(regarding a file that is opened in text> > mode)...> > Also, in text mode, carriage return-linefeed combinations> are translated> > into single linefeeds on input, and linefeed characters are> translated to> > carriage return-linefeed combinations on output.> > I've confirmed this to be true, If my test email body> contains a > > sequence, after the fwrite() call, the email text file contains a> > sequence.> >>> If your test email body has , upon reading it _in> textmode_ it should> now have and when writing out it will once again have> . Your> scenario doesn't make sense unless you are _reading_ in BIN> mode and _writing_> in TEXT mode. The conversion happens automatically in both> directions if and> only if both reading and writing are TEXT mode.>> John>>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
> If your test email body has , upon reading it _in> textmode_ it should> now have and when writing out it will once again have> . Your> scenario doesn't make sense unless you are _reading_ in BIN> mode and _writing_> in TEXT mode. The conversion happens automatically in both> directions if and> only if both reading and writing are TEXT mode.That appears to be the case. The template is originally opened in binarymode. So the body is never 'read in' via a file that was opened in textmode. The sendmail context then opens (creates) the email file viafopen(w) (which defaults to text mode).> -----Original Message-----> From: WebCatalog Talk> [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf> Of John Peacock> Sent: Friday, August 23, 2002 11:21 AM> To: WebCatalog Talk> Subject: Re: Double Spacing in Mails from Sendmail>>> Scott Anderson wrote:> > Straight from the MS docs...(regarding a file that is opened in text> > mode)...> > Also, in text mode, carriage return-linefeed combinations> are translated> > into single linefeeds on input, and linefeed characters are> translated to> > carriage return-linefeed combinations on output.> > I've confirmed this to be true, If my test email body> contains a > > sequence, after the fwrite() call, the email text file contains a> > sequence.> >>> If your test email body has , upon reading it _in> textmode_ it should> now have and when writing out it will once again have> . Your> scenario doesn't make sense unless you are _reading_ in BIN> mode and _writing_> in TEXT mode. The conversion happens automatically in both> directions if and> only if both reading and writing are TEXT mode.>> John>>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> > Web Archive of this list is at: http://search.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Scott Anderson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Re1000001: Setting up shop (1997)
Slow NT mail. (2000)
[WebDNA] Foreign characters (2009) (2009)
emailer w/F2 (1997)
WebCatalog 3.0.8 is on FTP... (2000)
A little syntax help (1997)
Dummy Credit Card Number for debug? (1997)
cookies ok ??? (2006)
Bug Report, maybe (1997)
[WebDNA] Putting '&search' into URL killing all search contexts (2010)
[Sum] function? (1997)
emailer and bad addresses (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Huge databases and RAM (1998)
[WebDNA] [BULK] WebDNA 7 - Ready or Not ?? I'm not sure... (2011)
[shownext max=?] armed (1997)
form crasehes server (1997)
minimalist shopping cart. (1997)
Error Log.db --however (1997)
HELP WITH DATES (1997)