Of course this is why I refrain from answering questions here.....
I didn't get the last part about it sending the first one, but not the
second.....taking a second look now.
Sorry
Erika
-----Original Message-----
From: Erika L Walker [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 4:52 PM
To: CF-Talk
Subject: RE: CFMAIL - twofold
You can have two <cfmail> tgs following each other...
<cfmail .....>
blash blah blah
</cfmail>
<cfmail .....>
blash blah blah
</cfmail>
Works just fine. At least for us.
Erika
--------------------------------
AIM: WebErika5
Yahoo: WebErika
MSN: WebErika
AskMe.com Expert: WebErika
--------------------------------
Erika L. Walker
Vice President
RUWebby, LLC
201-370-4272 (c)
973-244-9120 (o)
153 Rutgers Lane
Parsippany, NJ 07054
--------------------------------
Website Design/Programming
Database Integration
Allaire Partner - ColdFusion
--------------------------------
-----Original Message-----
From: Mark Lapole [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 4:06 PM
To: CF-Talk
Subject: CFMAIL - twofold
i may be a complete fool (some may argue), but if i'm trying to achieve 2
emails being sent off after a submitted form... what to do?
1) verification email sent back to the submitter (given they supply a valid
email address) with registration and seminar information
and
2) email to internal events person responsible for these registrations
No db involved -- should just be simple CFMAILs right?
Can't have 2 CFMAIL tags on same action page?
Using the following:
--------------------------
<CFMAIL TO="[EMAIL PROTECTED]"
FROM="Online_Registration"
SUBJECT="Seminar Registration"
TYPE="HTML">
Name: #Form.FirstName# #Form.LastName#<BR>
Company: #Form.CompanyName#<BR>
Address1: #Form.Address1#<BR>
Address2: #Form.Address2#<BR>
Email: #Form.EmailAddress#<BR>
Phone: #Form.Phone#<BR>
Fax: #Form.Fax#<BR>
</CFMAIL>
<CFMAIL TO="#Form.EmailAddress#"
FROM="Online_Registration"
SUBJECT="Seminar Registration"
TYPE="HTML">
Thank you for signing up to attend blahblahblah!<BR><BR>
The following registration information has been submitted:<BR><BR>
<B>Name:</B> #Form.FirstName# #Form.LastName#<BR>
<B>Company:</B> #Form.CompanyName#<BR>
<B>Address1:</B> #Form.Address1#<BR>
<B>Address2:</B> #Form.Address2#<BR>
<B>Email:</B> #Form.EmailAddress#<BR>
<B>Phone:</B> #Form.Phone#<BR>
<B>Fax:</B> #Form.Fax#<BR><BR>
If this is not correct or you need to make changes contact <A
HREF="mailto:[EMAIL PROTECTED]">Event Planner</A>
</CFMAIL>
Your registration for blahblahblah has been received -- we look forward to
meeting you!
------------------------------
First snippet processes fine and even makes it to the "Your reg has been
received..." line.
Any suggestions?
-Mark
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists