################################################## ## Email sender by: Steve "Defender" Cunningham ## ################################################## ## ## ## You can email me at: ## ## sc_99_99@yahoo.com and I can try to help ## ## you with any problem your having. ## ## ## ################################################## ## ## ## Note that if the copyright info is deleted, ## ## this script is no longer valid. ## ## ## ################################################## ==<< .zip File contents: >>== --> form.htm - Sends the information to the form_mailer.php script. --> form_mailer.php - Recieves the information from the form, prints the results, and sends the email. --> readme.txt - This file. Contains instructions. ==<< Version History >>== 1.0 - First release ==<< Installation >>== Installation's pretty easy, and only takes a minute! -- Step 1 -- Open up form_mailer.php in your favorite text editor and edit the following: (You need to change the values after each " mark.) << Your Email address. >> $youremail="defender@3dartisan.net"; This is the address that the information submitted will be sent to. << Email Subject >> $emailsubject="Contact form info!"; This will the email's subject << From Field >> The From field will be be where this email came from. Note on the from field. the text after the first " mark, until the < is what appears in "From" in your email program. So, you can put anything alpha numeric here. That would be any letters A-Z and a-z, as well as 0-9 After the < you should put your site email address. Can be same as the value in $youremail. $from_who="3d Artsian Contact Form "; << Page Title >> $pagetitle="Thank You!"; Title to be displayed on the sent info page. << Page Header >> Enter the code that you want to appear before the information submitted. Make sure you put a / mark before all double quotation marks or the script won't work. the \n at the end of the line is to create a new line in the HTML SOURCE. It DOES NOT create a break or new line when viewing it on the internet. Put these at the end of each line in the header and footer if you wish. They aren't required. $header = "\n \n \n
\n \n"; << Page Footer >> Enter the code you'd like displayed after the information submitted. Make sure you put a / mark before all double quotation marks or the script won't work. the \n at the end of the line is to create a new line in the HTML SOURCE. It DOES NOT create a break or new line when viewing it on the internet. Put these at the end of each line in the header and footer if you wish. They aren't required. $footer = "\n
\n \n"; << Email Body >> Edit the following lines to customize how the email sent to you will look. To add more fields, just copy and paste the line, and edit the info between the " marks. The last 2 lines will send the users browser information and their ip number with the mail. Just in case. :) $mailbody="Senders Name:\n=================\n$firstname\n\n"; $mailbody.="Senders Email:\n=================\n$email\n\n"; $mailbody.="Senders URL:\n=================\n$url\n\n"; $mailbody.="Senders Comments:\n=================\n$comments\n\n"; $mailbody.="Senders Browser:\n=================\n$HTTP_USER_AGENT\n\n"; $mailbody.="Senders IP Number:\n=================\n$user_ip\n\n"; -- Step 2 -- (Optional, but recommended) Edit form.htm to suit your needs. Though you can use your own form, just use form_mail.php as the action in the
tag. -- Step 3 -- Upload the 2 files to your website. Your done! Enjoy!