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 Total Quantity (1997) WebCat2b15MacPlugin - [protect] (1997) Almost a there but..bye bye NetCloak (1997) multi-paragraph fields (1997) What am I missing (1997) Re:2nd WebCatalog2 Feature Request (1996) service stop and restart (1997) Webmerchant confirmation hooks? (1997) Can't use old cart file (was One more try) (1997) Secure Server not remembering discounts (1998) .. more on sliding discounts... (1997) presetting variables ... (2000) More on the email templates (1997) Separate server for jpg/gif files (1998) Associative lookup style? + bit more (1997) How true is this? (1999) Email Newsletters (2003) send mail problem? (1997) Where is f2? (1997) New index for docs (1997)