Jump to content

Using the PHP mail function. First you need to make sure you can send mail. To do this just make a test php page with the following code

<?php     mail("Email address to send to", "Subject line of message", "Message");?>

If you recieve the email to the test account, it worked. Next you need to get the message. I'm going to assume you're going to be sending all messages to one email address, although you can use the same method for the message to make the email adress dynamic as well. You need to create the file that the form is "actioned to" and put this in

<?php $raw = $_GET['message']; //If the form sends via post, obviously use post instead$message - htmlspecialchars($raw); //Emails can use have HTML in them.. You don't want someone embedding a nasty iframe in your email or somethingmail('example@[member='Example'].com', 'Important message', $message)?>
Fucking around with custom shit lol

6fe3cbac30.png

I am good at computer

Spoiler

Motherboard: Gigabyte G1 sniper 3 | CPU: Intel 3770k @5.1Ghz | RAM: 32Gb G.Skill Ripjaws X @1600Mhz | Graphics card: EVGA 980 Ti SC | HDD: Seagate barracuda 3298534883327.74B + Samsung OEM 5400rpm drive + Seatgate barracude 2TB | PSU: Cougar CMX 1200w | CPU cooler: Custom loop

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×