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:
WebCatalog for guestbook ? (1997)
Other then credit cards-how? (1997)
Question on the sandbox (2003)
Ampersand Character (&) (1997)
Reindexing a db with duplicate numbers... (1999)
WebCat (or other) Indexing (1999)
Processing all html files through WebCat or Typhoon (1998)
Re:quit command on NT (1997)
Kaaaaahhhhhhhnnnnnnn! (1997)
Email truncation in Eudora. (1998)
[WebDNA] ImageMagick code (2013)
Announce: WebMerchant 3.0 for Windows shipping now (1998)
Templates for Customer Database? (1997)
Emailer setup (1997)
Writefile, Raw & include (2002)
For those of you not on the WebCatalog Beta... (1997)
Re(6): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998)
form data submission get (1997)
WebCat2 as a chat server? (1997)
Emailer and error 447 (2002)