How to make a php email sender on your web page

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,038
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 13, 2010

This tutorial is going to show you how to make a email handler that will process what the client types into the form and then it will send that information to your email for later review.

----------
Download Link for Form
http://daves-designs.com/all/youtube/email_handler
---------
Visit my website please
http://www.daves-designs.com/

Put this in between the PHP Tags!

// Retrieveing data from form.html
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$notes = $_REQUEST['notes'];

// Building message var
$message = '
Name: ' . $name . '\n
Email: ' . $email . '\n
Message;\n
' . $notes . '';

// Creating static vars
$to = 'daveswebsites@gmail.com';
$subject = 'My website name; ' . $subject . 'From: ' . $name . '';

// Sending message
mail($to, $subject, $message);
echo 'Message sent! Thank you, ' . $name . '';

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (DaveRIzSe)

  • i cannot able to see the coding because the video not proper.

  • @mariavincent1985 put it on hd, stop herpin your derp.

see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • I'm sure u're talking a lot o sense, but man i can't hear you, neither is your code visible at all. Thanks

  • I appreciate your doing this but I need more enunciation & volume is too quiet...no offence meant, probably my fault, I'm too much of a beginner. Cheers for the effort anyway :)

  • Hey man thanks for taking the time to make this.

  • qUEER

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more