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:
Searching multiple Databases (1997)
Security Tip (1996)
default value from Lookup (was Grant, please help me) (1997)
3rd party processor question (2003)
Great product and great job ! (1997)
emailer (1997)
RAM variables (1997)
wrong authentication (1998)
Did you hear about this? (1997)
RAM variables (1997)
FlushDatabase Suggestion (1998)
Attention eCommerce Sites (deadline 12/12) (1997)
Summing fields (1997)
[OT] Mozilla | Was: R.I.P. Netscape (2003)
[WebDNA] paypal (2009)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Multiple prices (1997)
New Guestbook Source (1997)
Search in 2 or more catalogs (1997)
Word search (1997)