Re: Double Spacing in Mails from Sendmail
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42869
interpreted = N
texte = 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 PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 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/
Associated Messages, from the most recent to the oldest:
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 PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 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/
John Peacock
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:
Location of Browser Info.txt file (1997)
No Access warning when caching HTML files (1997)
Online reference (1997)
sendmail in html format? was allready solved..... (2002)
Plugin or CGI or both (1997)
sort problems....bug or brain fart? (1997)
Latin Characters (1998)
Wierd webdna problem and terminal message (2005)
Quick ShowIf question (1997)
SSL data to/from webcatalog? (2000)
Date Time Oddness (1999)
Need relative path explanation (1997)
Major bug report on rootbeer (1997)
Authenticate (1997)
Retrieve deleted files (2001)
Server Freeze (1998)
New Installation (1998)
MasterCounter Help (1998)
two unique banners on one page (1997)
Help name our technology! (1997)