Re: Email Line Breaks

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50136
interpreted = N
texte = The previous question asked for a MacOS line break, not a Windows line break. By the way, %0A%0D is backwards even for a Windows line break -- it should be %0D%0A instead.For future reference:Mac line break = carriage return = %0D UNIX line break = line feed = %0A Windows line break = carriage return + line feed = %0D%0AThis means the correct solution to the problem (as it has been described) is this:[sendmail to=a@b.com&from=c@d.com&subject=solution] [convertwords emailBody.db][bodyOfTheMessage][/convertchars] [/sendmail]With an emailBody.db that looks like this:from to
%0A %0DThis should change
tags to line feed characters and carriage returns to blank. The result is that there will be only line feed characters inside the email body text -- and this UNIX-style format (line feed characters only) represents the proper format for the sendmail body text on ALL PLATFORMS.Please try this and let us know if it worked, unless you've already resolved the problem. Thanks!:)>Would a convertwords do the trick ? > >FROM TO >
[unurl]%0A%0D[/unurl] > >You may need to wrap an interpret around the whole thing .. >So for: http://mydomain.com/index.tpl?XYZ=Help me.
Help you.
Help. > >[interpret][convertwords db=email.db][xyz][/convertwords][/interpret] > >(Untested though .. ) >Alain > >> Alain, >> >> I knew about the trick you posted below, but my problem is somewhat >> different. I have a URL like this: >> >> http://mydomain.com/index.tpl?XYZ=Help me.
Help you.
Help. >> >> I need to convert the
's in the URL string into Mac line breaks in a >> plain text email. >> >> Does that make sense? >> >> >> >> On 5/6/03 5:25 PM, Alain Russell wrote: >> >>> In a plain text message [unurl]%0A%0D[/unurl] will create a line >>>break (unix >>> format). Replace as necessary for your platform >>> >>> Alaiomn >>> >>>> I have someone sending info to a page on my server using >>>>name=value pairs in >>>> the URL. I need to take some of the text (containing
) and >>>>send it in an >>>> email message. How can I convert the
's to line breaks in the email >>>> message? >>>> >>>> I've already tried wrapping the text in a [convertwords] and creating a db >>>> like this: >>>> from to >>>>
%0B >>>> >>>> >>>> But, the %0B shows up in the text of the email. >>>> >>>> BTW, this needs to be a plain text message. >> >> >> --------------------------------------------------------------------- >> Clint Davis >> Webmaster / Interactive Media Specialist >> Gray Loon Marketing Group, Inc. http://www.grayloon.com >> 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 >> --------------------------------------------------------------------- >> >> >> ------------------------------------------------------------- >> 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://webdna.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://webdna.smithmicro.com/ -- Sincerely, Kenneth Grome ------------------------------------------------------------- My programmers will write WebDNA code for you at $27 an hour! -------------------------------------------------------------------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Email Line Breaks [OT] (Matthew Bohne 2003)
  2. Re: Email Line Breaks [OT] (Rob Marquardt 2003)
  3. Re: Email Line Breaks (John Hill 2003)
  4. Re: Email Line Breaks (andy mowrey 2003)
  5. Re: Email Line Breaks (Kenneth Grome 2003)
  6. Re: Email Line Breaks (Donovan 2003)
  7. Re: Email Line Breaks (Alain Russell 2003)
  8. Re: Email Line Breaks (Donovan 2003)
  9. Re: Email Line Breaks (Alain Russell 2003)
  10. Re: Email Line Breaks (Kenneth Grome 2003)
  11. Re: Email Line Breaks (Clint Davis 2003)
  12. Re: Email Line Breaks (Alain Russell 2003)
  13. Email Line Breaks (Clint Davis 2003)
The previous question asked for a MacOS line break, not a Windows line break. By the way, %0A%0D is backwards even for a Windows line break -- it should be %0D%0A instead.For future reference:Mac line break = carriage return = %0D UNIX line break = line feed = %0A Windows line break = carriage return + line feed = %0D%0AThis means the correct solution to the problem (as it has been described) is this:[sendmail to=a@b.com&from=c@d.com&subject=solution] [convertwords emailBody.db][bodyOfTheMessage][/convertchars] [/sendmail]With an emailBody.db that looks like this:from to
%0A %0DThis should change
tags to line feed characters and carriage returns to blank. The result is that there will be only line feed characters inside the email body text -- and this UNIX-style format (line feed characters only) represents the proper format for the sendmail body text on ALL PLATFORMS.Please try this and let us know if it worked, unless you've already resolved the problem. Thanks!:)>Would a convertwords do the trick ? > >FROM TO >
[unurl]%0A%0D[/unurl] > >You may need to wrap an interpret around the whole thing .. >So for: http://mydomain.com/index.tpl?XYZ=Help me.
Help you.
Help. > >[interpret][convertwords db=email.db][xyz][/convertwords][/interpret] > >(Untested though .. ) >Alain > >> Alain, >> >> I knew about the trick you posted below, but my problem is somewhat >> different. I have a URL like this: >> >> http://mydomain.com/index.tpl?XYZ=Help me.
Help you.
Help. >> >> I need to convert the
's in the URL string into Mac line breaks in a >> plain text email. >> >> Does that make sense? >> >> >> >> On 5/6/03 5:25 PM, Alain Russell wrote: >> >>> In a plain text message [unurl]%0A%0D[/unurl] will create a line >>>break (unix >>> format). Replace as necessary for your platform >>> >>> Alaiomn >>> >>>> I have someone sending info to a page on my server using >>>>name=value pairs in >>>> the URL. I need to take some of the text (containing
) and >>>>send it in an >>>> email message. How can I convert the
's to line breaks in the email >>>> message? >>>> >>>> I've already tried wrapping the text in a [convertwords] and creating a db >>>> like this: >>>> from to >>>>
%0B >>>> >>>> >>>> But, the %0B shows up in the text of the email. >>>> >>>> BTW, this needs to be a plain text message. >> >> >> --------------------------------------------------------------------- >> Clint Davis >> Webmaster / Interactive Media Specialist >> Gray Loon Marketing Group, Inc. http://www.grayloon.com >> 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 >> --------------------------------------------------------------------- >> >> >> ------------------------------------------------------------- >> 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://webdna.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://webdna.smithmicro.com/ -- Sincerely, Kenneth Grome ------------------------------------------------------------- My programmers will write WebDNA code for you at $27 an hour! -------------------------------------------------------------------------------------------------------------------------- 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://webdna.smithmicro.com/ Kenneth Grome

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:

WebCat2 as a chat server? (1997) Re:Running 2 two WebCatalog.acgi's (1996) WebCatalog stalls (1998) Variable Prices (1998) Grep search not working (2002) WebCat2.0 [format thousands .0f] no go (1997) 2 databases (1997) Uh...can someone help me out with the b10? (1997) Search Engines (2000) WebMerchant 1.6 and SHTML (1997) UPPERCASE (1997) Help! WebCat2 bug (1997) Bug (feature) in v6 listfiles shows hidden files ... (2004) Text data with spaces in them... (1997) RE: Subtotal help (1997) Hyperlink in email (2002) WebCat2: Items xx to xx shown, etc. (1997) Searching Multiple DBs (1997) Adding up line items. (2000) Searching a field and returning the highest value (1997)