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:

Document Contains No Data! (1997) Serving images from databases (1998) RE: Languages (1997) WebDNA Trouble... (1999) Uploading out of FMP (2001) WebCatalog NT beta 18 problem (1997) Umm...about those log files? (Off Topic) (1997) color and size options / ARCHIVES (1997) Online CC Processing (2002) Where's Cart Created ? (1997) set header in DB (no cart) (2003) WebCat2: Items xx to xx shown, etc. (1997) MacActivity and PCS (1997) Bug or syntax error on my part? (1997) webcatalog 2.1.3 ACGI Weirdness? (1998) [WebDNA] Triggers not working (2014) frames & carts (1997) WebTen? (1997) [OT] KeepItUp for Windows (2003) SKU Question (1999)