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

Reply via email to