Forum Home
Press F1
 
Thread ID: 34856 2003-06-26 01:39:00 When mailto:Me just wont cut the mustard Chilling_Silently (228) Press F1
Post ID Timestamp Content User
155154 2003-06-26 01:39:00 As you probably have guess by my <table> query threads, Im making a website...

Just as a side-note, what's the best place to go for queries like this besides PressF1... is there a website somewhere? Ive been to WebMonkey and all.

Anyway, on to the question:
Ive used the <a href="mailto:me@my-domain.co.nz"> but it just doesnt cut the mustard for what I want on a certain page.

How do I create a form that will allow me to specify the following as hidden settings that the user cannot change:
Email address
Subject of the Email
And then I want an Edit Box that the user can enter their own Body of the email into.
Once that's done, they then Click on a button and are taken to a new page.

Im sure Ive seen it before, and cant remember it being overly hard...
Where to start?

Cheers


Chill.

BTW - After editing HTML for so long.. does anybody else find they start thinking in tables and hyperlinks?? ?:| :|
Chilling_Silently (228)
155155 2003-06-26 01:46:00 > As you probably have guess by my <table > query
> threads, Im making a website...
>
> Just as a side-note, what's the best place to go for
> queries like this besides PressF1... is there a
> website somewhere? Ive been to WebMonkey and all.

yep there is one I know off, but there are upgrading there website at the moment so it is not online at the moment, but when it comes backup I will e-mail you the link
stu140103 (137)
155156 2003-06-26 01:49:00 > Anyway, on to the question:
> Ive used the <a href="mailto:me@my-domain.co.nz" > but
> it just doesnt cut the mustard for what I want on a
> certain page.

Dont even use mailto on any pages!!! or you will get SPAM!!! as i found out the hard way :( :_|
stu140103 (137)
155157 2003-06-26 01:53:00 > How do I create a form that will allow me to specify
> the following as hidden settings that the user cannot
> change:
> Email address
> Subject of the Email
> And then I want an Edit Box that the user can enter
> their own Body of the email into.
> Once that's done, they then Click on a button and are
> taken to a new page.
>
> Im sure Ive seen it before, and cant remember it
> being overly hard...
> Where to start?

Are you using any typed of scrip eg PHP CGI to process your form???

If not & you want to use mailto in a form: have a look at this page of my website: stuartw.orcon.net.nz & have a look at the source code.

Hope this helps
stu140103 (137)
155158 2003-06-26 01:58:00 So far its ALL HTML, Pure HTML.. No Javascript/PHP/CGI/Pearl/Java/Flash/Anything else along those lines, yet its still quite nice I think :-) Chilling_Silently (228)
155159 2003-06-26 02:00:00 If you're having it so that it spawns the default mail client it's pretty much down to the mail client as to whether or not you can change the email address and other specifics like that.

If you're wanting to keep everything hidden you might have to use php/asp type stuff instead.
-=JM=- (16)
155160 2003-06-26 02:05:00 <form action="mailto:stuartw77@hotmail.com?subject=feedback on webpages " name="Feedback on web pages seen" enctype="multipart/form-data" method="post">

First name:
<input type="text" name="First name" value="First name here">

Last name:
<input type="text" name="last name" value="Last name here">

E-mail address:
<input type="text" name="e-mail" value=" you@domain.co.nz">

Comment
<textarea name="Comment" cols="50" rows="5">Please enter your comment/feedback here...</textarea>

<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Reset" value="Reset">
</form>
stu140103 (137)
155161 2003-06-26 02:18:00 Thanks Stu, I'll give it a try, looks like the sorta thing Im after!
JM>
Im not wanting to fire up their mail-client, I want it all done In-Browser :-)
Chilling_Silently (228)
155162 2003-06-26 03:04:00 Hmm.. We're getting close here.. but that fires up the email Client..
I just want a box, like what we have here for the 'Reply' to message on PF1, and a Post Message button.. and have that sent from within the browser to the specified email address (That the user cannot change).

Hope you can get what Im after.. I think I've explained it alright?? :-)

Thanks

Chill.
Chilling_Silently (228)
155163 2003-06-26 03:32:00 a quick and easy way to avoid having to use mailto: where server side scripting is unaccessible to you, is to sign up with a remotely hosted script provider. a good list can be found at

HotScripts > Remotely Hosted > Form Processors (www.hotscripts.com)

a hunt through that list, and you should be able to find a good solid one.

its probably sounding like a bad idea to give your email address over to some 3rd party, but its worth a shot, even if you have to give a fake one for a couple of weeks to see if any spam starts rolling in

if you dont figure it out yourself (shouldnt be too hard to figure out what this stuff is all about), ill help you out some more,

grtz sal.
tga
sal (67)
1 2