User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 456,521 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,795 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser: Programming Forums
Views: 1355 | Replies: 2
Reply
Join Date: Jul 2006
Posts: 16
Reputation: luemob is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
luemob's Avatar
luemob luemob is offline Offline
Newbie Poster

Help <CFMail issure

  #1  
Oct 3rd, 2007
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2005
Location: Downingtown
Posts: 58
Reputation: hinde is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 3
hinde hinde is offline Offline
Junior Poster in Training

Re: <CFMail issure

  #2  
Oct 7th, 2007
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.
Reply With Quote  
Join Date: Oct 2007
Posts: 1
Reputation: parthabanerjee is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
parthabanerjee parthabanerjee is offline Offline
Newbie Poster

Re: <CFMail issure

  #3  
Oct 8th, 2007
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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ColdFusion Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ColdFusion Forum

All times are GMT -4. The time now is 4:13 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC