Please help: Creating a form whose input will be sent to a 2004-04-09 - By Becky Kinney
Back You can use ? as in a GET string to append subject and body info to a getURL(mailto:me@(protected)?subject=stuff&body=more%20stuff). There is a summary of what can be done at http://www.ianr.unl.edu/internet/mailto.html. You'll notice that the link says nothing about Flash, but everything you can do in an html link can also be done with getURL.
That's the good news. The bad news is that the mailto solution isn't recommended, since it relies on the user's default email client to actually send the mail. What you should really do is tap into a server-side email utility. Most servers provide a pre-built cgi script for form mail. The details would depend on the script, but basically you would send variables to the form mail script, and it would use that info to create and send your email.
Becky
-- -- Original Message -- -- From: "marisa_antonaya" <mantonaya@(protected)> To: <FLASHmacromedia@(protected)> Sent: Friday, April 09, 2004 2:11 AM Subject: [FLASHmacromedia] Please help: Creating a form whose input will be sent to an email address
> Hello, > > I'm developing a Flash site for a small travel agency, and they asked me to include a > page where users could ask about travel itineraries. Since they don't have databases > for this at this time, they just want the user's request to be emailed to a specific > address. > > So I created the form interface using components (radio buttons, date picker, etc.), > but now I have to figure out how to use Action Script to have that information sent to > the email address, and this is where I'm lost. I've been surfing the help forums and > tutorial sites, but can't seem to find out how to do this. I suppose I need to (1) specify > which data needs to be sent (2) specify where it needs to be sent once the Submit > button is clicked (3) make sure the information is sent in a readable format. > > Any help would be appreciated. I thought it would be easy to find info on this, but I'm > not having luck and time is running out. > > Thanks! > Marisa > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > Server geeks, take heart! If you're sick of wading through > animation & graphics instruction for relevant info., then > Nate Weiss' Macromedia Flash MX Professional 2004 for Server > Geeks is for you. Leave designing to designers and dig into > core concepts to create rich user interfaces, online > advertising, and more. See www.peachpit.com for more info. > Yahoo! Groups Links > > > > > > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Server geeks, take heart! If you're sick of wading through animation & graphics instruction for relevant info., then Nate Weiss' Macromedia Flash MX Professional 2004 for Server Geeks is for you. Leave designing to designers and dig into core concepts to create rich user interfaces, online advertising, and more. See www.peachpit.com for more info. Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/FLASHmacromedia/
<*> To unsubscribe from this group, send an email to: FLASHmacromedia-unsubscribe@(protected)
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
|