FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Check THIS script





bluffmango
Is it possible that ,i have a mail form on my website which when submitted autoresponds to the sender with an email which contains some text and an html link which conatins the senders emai address in it
example:
some@mail.com sends an email through a mail form from my website

then he receives and email at some@mail.com form me,,,,this email is like this:

BLAH BLAH BLAH.....

your link is: http://www.bluffmango.com/some@mail.com?id=bluffmango


i have no programming experience if sm body knowz about such script or can make it for me i ll b really grateful plz do me this favour..thanx n everybdy tak care....
mathiaus
I would suggest php as your best option
You may use the piece of code below which can be saved as process.php and your form should have the action of the url of process.php
The form should also have the method post and a textbox for the email named email
change YOUREMAIL to your email address and YOURMESSAGE to the message you want the email to have
For the link just put in the url not any html. It still links automaticly!


Code:
<?php
$to=$_POST['email'];
$subject = 'YOURSUBJECT';
$message = 'YOUR MESSAGE';
$headers = 'From: YOUREMAIL' . "\r\n" .
   'Reply-To: YOUREMAIL';
mail($to, $subject, $message, $headers);
?>


Hope that helps
Matt[/code]
bluffmango
thanx for writing that for me....i got the way to set it up....but abt the url i wana send in auto reply u mean to say that.......i should use email as a variable where ever i use it in the hyperlink it will be replaced by the submitters email address like below...

if a@b.com sent this mail frm ma website ....and i want to send em this link in auto reply :
http://www.bluffmango.com/click?id=a@b.com

the i shud write the code like this:
http://www.bluffmango.com/click?id=email


am i rite......if yes therez one lil thing i forgot to mention ...wat if i only wana use the part of the email address that is b4 the @ sign or replace the @ with %40 ???? can u modify it which ever way easily? thanks again for the coding.....tk cre

i tried it out bt it only sends the user an email message tht i specify but cant it keep one copy of email in the email i specify and send the message to the submitter as an autoreply.....?
budazz
you can try emailzing from http://scripts.inexistent.org/
it a great email script... Very Happy
mustaq
you can check out hotscripts.com for your need where u can find all ready made scripts
jlbribeiro
mustaq wrote:
you can check out hotscripts.com for your need where u can find all ready made scripts
hotscripts it's a great site. You should try it out.
Related topics
check box validation
bandwidth check.
Any Good Script like Kings Of Chaos
Phoenix free PHP scripts
MySQL DB Backup script - minor problem
Upload Script
Webmaster Forum Contest! $40 Value Script Up For Grabs!
Looking for easy FormMail Script
PHP
Script to automatically restart Apache (for server 1)
Need help making logout script
Check CHMOD - URGENT! - need to release script soon!
array check box on php script using $_POST
Form handling in php is a pain in the neck
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.