Email Forums

Abraamyan

Beta member
Messages
1
Ok for my new website I basically just wanted to know if anyone could help me out.


I'm looking for somewhere where I could get a code that basically makes a forum that people fill out then click submit and the information inputted into the forums gets sent to my email address.

I looked in google and hot scripts but couldn't find anything.
 
Are you trying to say "forms"?

Simple, PHP > all. Or ASP... Or Perl... Choose your poison.

Hit me up on the PM for more info.
 
I'm not being funny here, but would it be too much to ask you people not to say, send me a PM and I'll help you...

private messages do not help the community.

If you don't want to post yuor code in public then don't...

Anyway... just to get you started...

It's simpler to use PHP as the mail object is built into the language, whereas with ASP (and ASP.Net) the syntax seems to change rather a lot...

Anyway, with PHP...

form.html
Code:
<html>
<body>
<form action=mailme.php method=post>
<input type=text name=title />
<textarea name=body></textarea>
<input type=submit value="Send Me Mail!" />
</form>
</body>
</html>

mailme.php
Code:
<?php
$subject = $_REQUEST['title'];
$message = $_REQUEST['body'];
$to = 'your@email.com' ;

mail($to, $subject, $message);
?>


Thats the basics... you can improve on that yourself if you want...

if you want to do this in ASP I suggest you try searching for CDONTS as this is the object that sends mail.
 
Back
Top Bottom