if all you want to do is capture the email address then you don't need to do anything, just store the value of form.email. Surely if the user has 4 email addresses you don't want to send a copy of the form to all 4 of them or send yourself 4 copies of the email? I would also suggest you DO NOT send the email to yourself FROM the users email address as you may lose some of them to spam filters as you will be sending emails form a mail server that is not valid for that domain/email address and it will fail SPF/SenderID checks.Youy should send the emails using your own domain which is allowed to send form your mail server and has a valid MX/SPF record stating that.
why not try one of the online form builders, they really are quite good and most of them have a free account. www.formassembly.com is the best more simple ones are www.jotform.com www.wufoo.com Russ On Thu, Sep 29, 2011 at 7:01 PM, Robert Harrison <[email protected]> wrote: > > Something like this should work. > > 1. Use the same field name on each field. The result of that will be that > when you submit, you'll send a comma delimited list of email values > > <label>Email:</label> > <input name="email" type="text" /> > <input name="email" type="text" /> > <input name="email" type="text" /> > <input name="email" type="text" /> > > 2. Do a form submit to the next step > > 3. Loop over the comma delimited list of email addresses and generate a > cfmail on each loop > > <cfloop index="i" from="1" to="ListLen(email)"> > <cfmail to="ListGetAt(email,i)" from="fromme@thisdomaincom" > > My mail data > </cfmail> > </cfloop> > > > > > > Robert B. Harrison > Director of Interactive Services > Austin & Williams > 125 Kennedy Drive, Suite 100 > Hauppauge NY 11788 > P : 631.231.6600 Ext. 119 > F : 631.434.7022 > http://www.austin-williams.com > > Great advertising can't be either/or. It must be &. > > Plug in to our blog: A&W Unplugged > http://www.austin-williams.com/unplugged > > > ----- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347809 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

