I have never come across this before. I was asked to create a form that
ask for all attendees that are coming to an event, which means multiple
emails addresses using CFMAIL.
Is this possible?
Steve LaBadie, Web Manager
East Stroudsburg University
570-422-3999
http://www.esu.edu
You would just loop over the list of emails and use cfmail inside the loop
to send, right?
I could be misunderstanding exactly what you are asking.
---
David Mineer Jr
-
The critical ingredient is getting off your
butt and doing something. It's as simple
as that. A lot of
, 2011 1:42 PM
To: cf-talk
Subject: Re: multiple email addresses in cfmail FROM attribute
You would just loop over the list of emails and use cfmail inside the
loop
to send, right?
I could be misunderstanding exactly what you are asking.
---
David Mineer Jr
-
The critical
So, why do you need to use their email addresses as the from address? The TO
or CC addresses, sure, even the REPLY TO I can see using all of the
addresses.
Can't you just use some generic address for the FROM? Like
noreplymyf...@esu.edu
What goal are you trying to accomplish? That might be
, Web Manager
East Stroudsburg University
570-422-3999
http://www.esu.edu
slaba...@esu.edu
-Original Message-
From: Alan Rother [mailto:alan.rot...@gmail.com]
Sent: Thursday, September 29, 2011 1:53 PM
To: cf-talk
Subject: Re: multiple email addresses in cfmail FROM attribute
So, why do
Steve, then treat each area of registration as its own registration, looping
over the email logic for each attendee. You can't have more than one from
address in an email. CF doesn't throw an error on it but the SMTP server
will. I know this from experience in a malformed email from
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
labelEmail:/label
input name=email type=text /
input name=email type=text /
input name=email type=text /
input
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
I thought from what I read he wanted to send an email to each of the addresses
in the form... that's why I suggested the loop. I might have misunderstood what
he wanted to do.
~|
Order the Adobe Coldfusion Anthology now!
I apologize if I haven't explained myself properly. There is space for 4
attendees to register for the event. The owner of the form wants to
gather all of the info inputted into the form.
Parent/guardian #1
Address
Phone
Email
Parent/guardian #2
Address
Phone
Email
Parent/guardian #3
Address
the form builders i mentioned, specifically formassembly will do
exactly this, in addiiton it allows you to give the user the option to
add new section, so you would create only fields for 1 attendee with
a button to add more attendees and the form builder does everything
else for you.
If you
[mailto:slaba...@po-box.esu.edu]
Sent: Thursday, September 29, 2011 2:28 PM
To: cf-talk
Subject: RE: multiple email addresses in cfmail FROM attribute
I apologize if I haven't explained myself properly. There is space for 4
attendees to register for the event. The owner of the form wants
-williams.com]
Sent: Thursday, September 29, 2011 2:39 PM
To: cf-talk
Subject: RE: multiple email addresses in cfmail FROM attribute
I still don't understand what you want to do from that. What's the
action you want to take? Do you want to send mail to the people in the
form? Do you want to send
Harrison [mailto:rob...@austin-williams.com]
Sent: Thursday, September 29, 2011 2:39 PM
To: cf-talk
Subject: RE: multiple email addresses in cfmail FROM attribute
I still don't understand what you want to do from that. What's the
action you want to take? Do you want to send mail
-talk
Subject: Re: multiple email addresses in cfmail FROM attribute
It's not elegant (and it REALLY should save to a database as well..),
but
I knocked it out in about 3 mins - it'll do the work you need it to -
just
change some of the things like TO and FROM and you're done
cfif StructKeyExists
/or. It must be .
Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged
-Original Message-
From: Steve LaBadie [mailto:slaba...@po-box.esu.edu]
Sent: Thursday, September 29, 2011 2:42 PM
To: cf-talk
Subject: RE: multiple email addresses in cfmail FROM attribute
duh
Steve LaBadie, Web Manager
East Stroudsburg University
570-422-3999
http://www.esu.edu
slaba...@esu.edu
-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com]
Sent: Thursday, September 29, 2011 3:01 PM
To: cf-talk
Subject: RE: multiple email addresses
blog: AW Unplugged
http://www.austin-williams.com/unplugged
-Original Message-
From: Steve LaBadie [mailto:slaba...@po-box.esu.edu]
Sent: Thursday, September 29, 2011 3:21 PM
To: cf-talk
Subject: RE: multiple email addresses in cfmail FROM attribute
duh
Steve LaBadie, Web Manager
East
, 2011 3:28 PM
To: cf-talk
Subject: RE: multiple email addresses in cfmail FROM attribute
That was what you wanted... yes?
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
be .
Plug in to our blog: AW Unplugged
http://www.austin-williams.com/unplugged
-Original Message-
From: Steve LaBadie [mailto:slaba...@po-box.esu.edu]
Sent: Thursday, September 29, 2011 3:58 PM
To: cf-talk
Subject: RE: multiple email addresses in cfmail FROM attribute
Yes Robert, instead
20 matches
Mail list logo