need help with [sendmail] and [showif]s

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 20536
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 helpand 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!Daleps -- the variables passed are shown at the top of the second page using the following DNA:[formvariables] [name] = [value]
[/formvariables] 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 helpand 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!Daleps -- the variables passed are shown at the top of the second page using the following DNA:[formvariables] [name] = [value]
[/formvariables] Dale Stokdyk

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:

2nd WebCatalog2 Feature Request (1996) ListFiles (1998) OPEN MARKET PATENTS SOUND ECOMMERCE ALARM (1998) Caching [include] files ... (1997) Now: IOD | WAS:[Show items based on login Password] (2003) [cart] (1998) Problems with Search Engine (2000) Store Builder, technical infos (1998) date tag not interpreted (2000) [Summary] re: Emailer setup (1997) Error Log.db --however (1997) Showing Results Alphabetically in Columns (top to bottom) (2002) HomePage Caution (1997) Loosing Quantity (2000) intel webdna? (2007) sort problems....bug or brain fart? (1997) [TaxTotal] (1998) Cookie Issue - No domain (2004) Running _every_ page through WebCat ? (1997) WebCatalog for guestbook ? (1997)