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 formgives you 3 options:1) subscribe2) unsubscribe3) get helpand asks for your email address.This info is passed to the next page (currentlyhttp://wwww.me2u.com/LoveLore/Newsletter/subscription.tmpl ), where I'musing [ShowIf] with [SendMail] in order to send an email message to thecorrect email address (subscribe, unsubscribe, or help):[showif [choose]=sub][SendMailto=LoveLetter-on@mail-list.com&from=[subscriber_address]&subject=][/SendMail][/showif][showif [choose]=unsub][SendMailto=LoveLetter@mail-list.com&from=[subscriber_address]&subject=][/SendMail][/showif][showif [shoose]=help][SendMailto=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject=][/SendMail]]/showif]The emails are getting sent OK, but something is happening with themultiple [showif]s -- I think! -- to cause the rest of the page (HTML) fromshowing. 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 usingthe following DNA:[formvariables][name] = [value]
[/formvariables]
Associated Messages, from the most recent to the oldest:
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 formgives you 3 options:1) subscribe2) unsubscribe3) get helpand asks for your email address.This info is passed to the next page (currentlyhttp://wwww.me2u.com/LoveLore/Newsletter/subscription.tmpl ), where I'musing
[showif] with
[sendmail] in order to send an email message to thecorrect email address (subscribe, unsubscribe, or help):[showif [choose]=sub][SendMailto=LoveLetter-on@mail-list.com&from=[subscriber_address]&subject=][/SendMail][/showif][showif [choose]=unsub][SendMailto=LoveLetter@mail-list.com&from=[subscriber_address]&subject=][/SendMail][/showif][showif [shoose]=help][SendMailto=LoveLetter-help@mail-list.com&from=[subscriber_address]&subject=][/SendMail]]/showif]The emails are getting sent OK, but something is happening with themultiple
[showif]s -- I think! -- to cause the rest of the page (HTML) fromshowing. 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 usingthe 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)