You are saying you have access to <cfmail> then why don't you use it?

With mailto:[EMAIL PROTECTED] you are completely going outside CF this
way and calling the email client of the user.
You need to post the form either to another page or to itself, then do
something like isDefined("form.btnSubmit") do CFMAIL stuff

Taco Fleur
0421 851 786
Tell me and I will forget
Show me and I will remember
Teach me and I will learn 


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Beattie, Barry
> Sent: Wednesday, 26 November 2003 5:43 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] sending emails from a HTML email form
> 
> 
> 
> Hi all
> 
> I've got a CFMAIL/HTML email that I'd like our members to 
> submit a form within it back to us - as an email.
> 
> I can use a bit of javascript to do the form submit as the 
> email but it brings up their default email editor and waits 
> for them to submit it. Sadly, unacceptable
> 
> <script type=text/javascript>
>     function doit() {
>     document.location = "mailto:[EMAIL PROTECTED]";
>     }
> </script>
> 
> is my only solution to get them to submit the stuff as a HTML 
> form instead of an email? This would go to a page on our 
> website that forwards the data on as the email we're expecting.
> 
> is there no other way?
> 
> thanx
> barry.b
> 
> 
> ---
> You are currently subscribed to cfaussie as: 
> [EMAIL PROTECTED] To unsubscribe send a blank email to 
> [EMAIL PROTECTED]
> 
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia 
http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to