944,030 Members | Top Members by Rank

Ad:
  • ColdFusion Discussion Thread
  • Unsolved
  • Views: 1879
  • ColdFusion RSS
Oct 3rd, 2007
0

<CFMail issure

Expand Post »
I recently used a cfmail tag to process a email form on a coldfusion server. This actually processes my email request and sends the email to the right address but I am getting the following error on the initial form page:

Why would this error appear if the form works?

The following information is meant for the website developer for debugging purposes. Error Occurred While Processing Request Element TXTFROMEMAIL is undefined in FORM.


The error occurred in D:\Inetpub\longestlife\Feedback.cfm: line 25
23 : <CFMAIL
24 : server="mail.longestlife.com"
25 : from= #form.txtFromEmail#
26 : to="carl@longestlife.com"
27 : subject="Carl!, Another Guestbook Signup!">
Last edited by luemob; Oct 3rd, 2007 at 1:18 am. Reason: misspelling
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
luemob is offline Offline
16 posts
since Jul 2006
Oct 7th, 2007
0

Re: <CFMail issure

First thing I check when I get something like this is to do a cfdump of the form scope at the top of the action page followed by a cfabort. Will show you exactly what is in the FORM scope (and most importantly in this case, what is not). I often misspell the name of a form element in the submission page or on the action page, which causes this cheerful little fellow.
Reputation Points: 10
Solved Threads: 4
Junior Poster in Training
hinde is offline Offline
60 posts
since Jul 2005
Oct 8th, 2007
0

Re: <CFMail issure

Because the form has a textbox in which u r entering the "from email address" but the textbox not named TXTFROMEMAIL . the mail application is still sending the mail because FROM option is is not mandatory. check the form and find out whats the name/id of the textbox where u r entering the FROM email address.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
parthabanerjee is offline Offline
1 posts
since Oct 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ColdFusion Forum Timeline: CFMX7 + Apache problem -- excessive pids hanging website
Next Thread in ColdFusion Forum Timeline: confirm reservation





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC