Re: ampersand in a sendmail body

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 69310
interpreted = N
texte = Yes, but the problem is that it is not only going into a sendmail context. It is also being stored in a data base, and it is is being displayed in text area for previewing before it is finally sent in an email. >Don't wrap it in anything. Sendmail messages don't need any >manipulation other than a character replacement to keep carriage >returns from doubling. > >Terry > >>Date: Sat, 29 Sep 2007 16:10:50 -0700 >>From: Stephen Reiss >>Subject: ampersand in a sendmail body >>Content-Type: text/plain; charset="us-ascii" ; format="flowed" >> >>I am having problems sending an ampersand in a sendmail context. >> >>It is wrapped in [url] tags before going in the data base but I >>keep getting & in the emails, even if I wrap the variable in >>[unurl] (or even [input]). >> >>I haven't been able to duplicate the problems in my tests, so I am >>doing something more complicated than I think I am. In my tests it >>saves to the data base as an & but in my working pages it saves it >>as %26 which then translates to & in the email. >> >>I have tried grep replacements (for just the amp; part) and >>wrapping the variable in every possible combination of [url] and >>[unrl] and even [input] tags. > >-- >Terry Wilson | terry@terryfic.com | http://terryfic.com >http://WhosComing.com - a simplified, affordable online reservation system >http://TightJacket.com -- stylish protection for your laptop >-------------------------------------------------------------------------- >Attitude is the only difference between ordeal and adventure. > >------------------------------------------------------------- >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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: ampersand in a sendmail body ( Terry Wilson 2007)
  2. Re: ampersand in a sendmail body ( Donovan Brooke 2007)
  3. Re: ampersand in a sendmail body ( Stephen Reiss 2007)
  4. Re: ampersand in a sendmail body ( Donovan Brooke 2007)
  5. Re: ampersand in a sendmail body ( Stephen Reiss 2007)
  6. Re: ampersand in a sendmail body ( Terry Wilson 2007)
  7. ampersand in a sendmail body ( Stephen Reiss 2007)
Yes, but the problem is that it is not only going into a sendmail context. It is also being stored in a data base, and it is is being displayed in text area for previewing before it is finally sent in an email. >Don't wrap it in anything. Sendmail messages don't need any >manipulation other than a character replacement to keep carriage >returns from doubling. > >Terry > >>Date: Sat, 29 Sep 2007 16:10:50 -0700 >>From: Stephen Reiss >>Subject: ampersand in a sendmail body >>Content-Type: text/plain; charset="us-ascii" ; format="flowed" >> >>I am having problems sending an ampersand in a sendmail context. >> >>It is wrapped in [url] tags before going in the data base but I >>keep getting & in the emails, even if I wrap the variable in >>[unurl] (or even [input]). >> >>I haven't been able to duplicate the problems in my tests, so I am >>doing something more complicated than I think I am. In my tests it >>saves to the data base as an & but in my working pages it saves it >>as %26 which then translates to & in the email. >> >>I have tried grep replacements (for just the amp; part) and >>wrapping the variable in every possible combination of [url] and >>[unrl] and even [input] tags. > >-- >Terry Wilson | terry@terryfic.com | http://terryfic.com >http://WhosComing.com - a simplified, affordable online reservation system >http://TightJacket.com -- stylish protection for your laptop >-------------------------------------------------------------------------- >Attitude is the only difference between ordeal and adventure. > >------------------------------------------------------------- >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/ Stephen Reiss

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:

Bug? (1997) Installing WebCatalog 4.5.1 (2004) webmerch and serials - almost there (1997) WebCat2b12--[searchstring] bug (1997) Problems appending to database (1997) RE: URL too Long? (1997) Secure Server (1997) slightly OT: advertising schemes (2004) Stumpted Again (1997) WebCatalog can't find database (1997) WebCat editing, SiteGuard & SiteEdit (1997) Setting up WebCatalog with Retail Pro data (1996) FWD: WebCatalog and .TMPL (1997) WebDNA Life Cycle (2007) Shipping Math (1999) WebDNA 4.5 & iTools 7 (2003) Forumulas.db & Variables (2002) REPOST: Upgrage pricing... The future of WebCatalog is comingwith 4.0... (2000) military time (2002) WebCat2b13MacPlugIn - [showif][search][/showif] (1997)