Re: Double Spacing in Mails from Sendmail
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42852
interpreted = N
texte = Looks like a [sendmail] bug (but only on the Windows platform).The [sendmail] context opens the email file in 'text' mode, so there is atranslation taking place where linefeed characters
are replaced withcarriage-return linefeed pairs . The header lines work fine because[sendmail] explicitly inserts only a at the end of each header (whichis then translated to pair by the fprintf() call). But the body iswritten out as is. So if the body contains a sequence, thisbecomes a sequence during the fwrite() call.A work around would be to make sure the text within your [sendmail] contextstags contain UNIX style line endings.> -----Original Message-----> From: WebCatalog Talk> [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf> Of John Peacock> Sent: Thursday, August 22, 2002 12:41 PM> To: WebCatalog Talk> Subject: Re: Double Spacing in Mails from Sendmail>>> Scott Anderson wrote:> > What platform is the SMTP server running on?> >>> Windows. The header is fine - the body is foul. I can open> up the messages in> the EmailCompleted folder and see the CR/CR/LF starting> directly after the> header ends. This is the way it looks:>> --------------------------------------------------------------> -----------> to: fulfillment@rowman.com,nkish@rowman.com> subject: Order#12345678901234567> from: WebCatalog@univpress.com>> ^M> ^M> Order #: 12345678901234567^M> Bill To:^M> Name: BLAHBLAHBLAH^M> Company: BLAHBLAHBLAH^M> Address: BLAHBLAHBLAH^M> ^M> City: BLAHBLAHBLAH^M> State: BLAHBLAHBLAH^M> Zip: ######^M> Country: United States^M> Account: (Credit Card purposely not shown because this email is not^M> encrypted) You may view the entire order securely at:^M> ...> --------------------------------------------------------------> ----------->> 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:
Looks like a [sendmail] bug (but only on the Windows platform).The [sendmail] context opens the email file in 'text' mode, so there is atranslation taking place where linefeed characters are replaced withcarriage-return linefeed pairs . The header lines work fine because[sendmail] explicitly inserts only a at the end of each header (whichis then translated to pair by the fprintf() call). But the body iswritten out as is. So if the body contains a sequence, thisbecomes a sequence during the fwrite() call.A work around would be to make sure the text within your [sendmail] contextstags contain UNIX style line endings.> -----Original Message-----> From: WebCatalog Talk> [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf> Of John Peacock> Sent: Thursday, August 22, 2002 12:41 PM> To: WebCatalog Talk> Subject: Re: Double Spacing in Mails from Sendmail>>> Scott Anderson wrote:> > What platform is the SMTP server running on?> >>> Windows. The header is fine - the body is foul. I can open> up the messages in> the EmailCompleted folder and see the CR/CR/LF starting> directly after the> header ends. This is the way it looks:>> --------------------------------------------------------------> -----------> to: fulfillment@rowman.com,nkish@rowman.com> subject: Order#12345678901234567> from: WebCatalog@univpress.com>> ^M> ^M> Order #: 12345678901234567^M> Bill To:^M> Name: BLAHBLAHBLAH^M> Company: BLAHBLAHBLAH^M> Address: BLAHBLAHBLAH^M> ^M> City: BLAHBLAHBLAH^M> State: BLAHBLAHBLAH^M> Zip: ######^M> Country: United States^M> Account: (Credit Card purposely not shown because this email is not^M> encrypted) You may view the entire order securely at:^M> ...> --------------------------------------------------------------> ----------->> 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:
[ConvertChars] problem (1997)
WebCat for mass emailings (1997)
Expected Behavior? (1999)
off topic - dna snipets (1997)
This is an odd error (2001)
Possible Bug 4.51 (2004)
upgrading (1997)
Re[2]: Feature: TCPconnect via SSL (1999)
[OT] Airport Problem (2003)
Introduction/Tutorial/QuickStart (1997)
WebCat2 beta 11 - new prefs ... (1997)
Email (1998)
calculating time (2002)
Search in 2 or more catalogs (1997)
[WebDNA] Imagemagick (2018)
ListDatabases & ShowIf (2003)
HELP..Changing Price after adding to cart. (1999)
RE: complete escaped ascii chart - importing and exporting files question (1998)
WebCat2.0 [format thousands .0f] no go (1997)
Test (2002)