Click to See Complete Forum and Search --> : Form - Mailto


screaming_banjo
09-25-2003, 09:54 AM
I've now made an HTML form and I intended to put it up on our site, I've used this line of code to submit the form in an email message:

<form action="MAILTO:me@myaddress.co.uk" method="post" enctype="text/plain">

It works fine on my PC (XP professional with Outlook 2002, however when I tried it on another PC with NT4 and Outlook 97, all it brought up was a blank email message with nothing in it. I realise I've been posting various messages about this and I finally thought I'd cracked it!

Once again, any help would be greatly appreciated! Bear in mind I have no knowledge of scripting a form!

Thanks!

96turnerri
09-25-2003, 10:28 AM
this is probably because outlook 97 is not configured to for html emails, not sure how u do that cant remember back that far, have a look in the options

pyro
09-25-2003, 10:29 AM
Using the mailto method in a forms action will never be reliable. Use a server-side script instead, such as this (http://www.webdevfaqs.com/php.php#mailer) one in PHP.

screaming_banjo
09-25-2003, 10:48 AM
Thanks for that!

I can take the hint, I have to learn at least a small amount of server-side stuff.

Have downloaded the zip file and have now got a long weekend off work, so I'll have an attempt at battering something together on Tuesday.

I don't feel too confident about this, so it may not be my last post!

Wish me luck, I'm gonna need it!

pyro
09-25-2003, 10:52 AM
Good luck... :)

Also, feel free to post in our PHP section if you need any help with it. Myself and others hang out there and are framiliar with the script.

96turnerri
09-25-2003, 11:59 AM
yeah good luck and thanks :cool: