Forum Moderators: open

Message Too Old, No Replies

Looking for a email form

mailto: not cgi

         

karma1961

5:09 am on Jan 27, 2003 (gmt 0)



that will capture and send info fields:
name
email address
subscribe address
ad copy (5lines, 65cpl)
special instructions

I have a few forms, they will not send the info via email.

HELP!

BlobFisk

1:41 pm on Jan 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, karma1961! Check out Marcia's excellent WebmasterWorld Welcome and Guide to the Basics [webmasterworld.com].

As far as I know it is not possible to use anything other than an email address to the mailto: tag. Some older browsers allow you to append a subject line: mailto:someone@host.com?subject=Hello%20World, but I think that some browsers will try and interpret this as part of the email address.

I think that to achieve what you are looking for you will need to use some server side script.

WibbleWobble

1:55 pm on Jan 27, 2003 (gmt 0)

10+ Year Member



If you just want an email sent, won't this w3schools [w3schools.com] code do it?
If you want more complex things, you're best off finding a copy of formmail or something in perl.

At least, thats what I've grasped from your request, I'm almost certainly wrong.

BlobFisk

2:01 pm on Jan 27, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I should really think before I write sometime!

WibbleWobble is spot on and I am way off...

Apologies! <me>Goes for some coffee...</me>

One thing worth mentioning is that mailto: only works is the user has a default mail app on the machine they are browsing from. If they use web based mail systems then your mailto: will not work.