Re: need help with [sendmail] and [showif]s

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20535
interpreted = N
texte = >Hi. Am having trouble getting this to work... > >I've set up a simple form for people to subscribe to our company newsletter >(see at http://www.me2u.com/LoveLore/Newsletter/archive.tmpl ). The form >gives you 3 options: > >1) subscribe >2) unsubscribe >3) get help > >and asks for your email address. > >This info is passed to the next page (currently >http://wwww.me2u.com/LoveLore/Newsletter/subscription.tmpl ), where I'm >using [ShowIf] with [SendMail] in order to send an email message to the >correct email address (subscribe, unsubscribe, or help): > > >[showif [choose]=sub][SendMail >to=LoveLetter-on@mail-list.com&from=[subscriber_address]&subject= >][/SendMail][/showif] > >[showif [choose]=unsub][SendMail >to=LoveLetter@mail-list.com&from=[subscriber_address]&subject= >][/SendMail][/showif] > >[showif [shoose]=help][SendMail >to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject= >][/SendMail]]/showif] > > >The emails are getting sent OK, but something is happening with the >multiple [showif]s -- I think! -- to cause the rest of the page (HTML) from >showing. Am I right about this? Thanks in advance for help with this!I found one miss spelled option and one bad bracket:>[showif [shoose]=help][SendMail ^ >to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject= >][/SendMail]]/showif] ^ ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. need help with [sendmail] and [showif]s (Dale Stokdyk 1998)
  2. Re: need help with [sendmail] and [showif]s (Christer Olsson 1998)
  3. Re: need help with [sendmail] and [showif]s (Will Starck 1998)
>Hi. Am having trouble getting this to work... > >I've set up a simple form for people to subscribe to our company newsletter >(see at http://www.me2u.com/LoveLore/Newsletter/archive.tmpl ). The form >gives you 3 options: > >1) subscribe >2) unsubscribe >3) get help > >and asks for your email address. > >This info is passed to the next page (currently >http://wwww.me2u.com/LoveLore/Newsletter/subscription.tmpl ), where I'm >using [showif] with [sendmail] in order to send an email message to the >correct email address (subscribe, unsubscribe, or help): > > >[showif [choose]=sub][SendMail >to=LoveLetter-on@mail-list.com&from=[subscriber_address]&subject= >][/SendMail][/showif] > >[showif [choose]=unsub][SendMail >to=LoveLetter@mail-list.com&from=[subscriber_address]&subject= >][/SendMail][/showif] > >[showif [shoose]=help][SendMail >to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject= >][/SendMail]]/showif] > > >The emails are getting sent OK, but something is happening with the >multiple [showif]s -- I think! -- to cause the rest of the page (HTML) from >showing. Am I right about this? Thanks in advance for help with this!I found one miss spelled option and one bad bracket:>[showif [shoose]=help][SendMail ^ >to=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject= >][/SendMail]]/showif] ^ ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Ljusa Ideer AB S-211 37 Malmoe Fax +46 40 97 99 77 Sweden http://www.ljusaideer.se Christer Olsson

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:

Getting Emailer to send mail (1997) Return records from another (1997) WebCat2 - Getting to the browser's username/password data (1997) tcp connect includes (1999) Price problem (1997) Need relative path explanation (1997) WebDNA tables and commas - the fix (2004) Search crashing server (1998) [isfile] ? (1997) WebCatalog2 Feature Feedback (1996) Spamming this list! (2000) [WebDNA] Will Q2/2010 be the best quarter for WebDNA? (2010) Nested tags count question (1997) WebCatalog/WebMerchant 2.1 (1998) Questions To Answer (1997) WebCatalog for guestbook ? (1997) color and size options (1997) long process indicator (2002) ODBC on Solaris for WebCat. . . (2001) Error Log.db --however (1997)