Not quite. It doesn't have to be valid, or an email address, but it CAN'T
contain a space... so
from="Jay_Patton"
would work.
|-----Original Message-----
|From: Jay Patton [mailto:[EMAIL PROTECTED]]
|Sent: Monday, March 26, 2001 4:43 PM
|To: CF-Talk
|Subject: Re: CFMAIL - twofold
|
|
|someone correct me if im wrong but doesn't the "From= " line
|have to have a
|valid email address such as: FROM="[EMAIL PROTECTED]"
|and cant have a
|name like: FROM="JAY PATTON"? i think i ran into a problem
|like this a while
|ago.?!?.
|
|Jay Patton
|Web Design / Application Design
|Web Pro USA
|p. 406.549.3337 ext. 203
|p. 1.888.5WEBPRO ext. 203
|e. [EMAIL PROTECTED]
|url. www.webpro-usa.com
|----- Original Message -----
|From: "Mark Lapole" <[EMAIL PROTECTED]>
|To: "CF-Talk" <[EMAIL PROTECTED]>
|Sent: Monday, March 26, 2001 2:06 PM
|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