Re: ampersand in a sendmail body
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 69309
interpreted = N
texte = 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.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://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/
Associated Messages, from the most recent to the oldest:
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.comhttp://WhosComing.com - a simplified, affordable online reservation systemhttp://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/
Terry Wilson
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:
Multiple Sendmail Tags on One Page (2008)
[WebDNA] Adding bcrypt as a encryption / hashing option (2017)
Sizes/Colors Options (2006)
WebCat2 - [format thousands] (1997)
WebCatalog can't find database (1997)
Quitting WebMerchant ? (1997)
SSL (1998)
WebCatalog Upgrade Pricing? (1997)
Euro WebDNA Conference (2004)
Only charge card when product shipped ? (1997)
[REPLACE] inside [FOUNDITEMS] (1998)
Further tests with the infamous shipCost (1997)
WC1.6 to WC2 date formatting (1997)
popups, netscape vs explorer (1997)
Security Levels... Possible? (2000)
Convert Chars Q (2000)
docs for WebCatalog2 (1997)
Some Questions (1997)
[WebDNA] Video Request: "Faces of WebDNA" (2010)
[WebDNA] Processor Maxing out (2010)