Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-09-2004, 07:07 PM
WebProWorld New Member
 

Join Date: Jun 2004
Location: pr
Posts: 1
flopes RepRank 0
Default cfm

hi to any how read this

i having problems with cold fusion and flash mx
im trying to send a email with the cfmail tag

but the movie in flash end succesful but when i look the email i dont receive anything.

i put the movie and the cf script in the www root of the server

here come the code


this is the action of the button

on (release) {
if (username.text == "" || email.text == "" || comments.text == "") {
getURL("javascript:alert('name, email and comments are needed');");
gotoAndStop(1);
} else {
//trace("fields = ok");
cfData = new LoadVars();
cfData.onLoad = function(){
//trace("cfData LOADED.");
_root.gotoAndStop("results");
}
for(myText in _root){
//trace("myText = " + myText);
//trace(_root[myText] instanceof TextField);
if(_root[myText] instanceof TextField){
//trace("myText = " + myText);
cfData[myText] = _root[myText].text;
//trace("cfData["+myText + "] = " + cfData[myText]);
}
}
//sendfeedback.cfm
cfData.sendAndLoad("sendfeedback.cfm", cfData, "POST");
_root.gotoAndStop("wait");
}
}



this is the cf script


<cfmail from="#form.email#" to="efel__@hotmail.com" subject="feedback from your site." server="mail">
name : #form.username#
email : #form.email#
comments : #form.comments#
</cfmail>

can you tell me how this suppose to work [/b]
Reply With Quote
  #2 (permalink)  
Old 06-09-2004, 11:56 PM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: Western Australia
Posts: 2,105
matauri RepRank 0
Default

Hi Flopes & welcome to WPW!

I have moved your post over into Programming, because you will probably get an answer to your query faster here.
__________________
Web Development Community ::: Forum ::: Library

It' time for Progressive Web & IT Development!
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0