Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

Search: 

  Tutorial: PHP Email Systems Send email using the PHP mail() function Tutorial

How to send an email from within a PHP page using the built in mail() function.

Tutorial Details:

Mail() function in PHP

Send email using the PHP mail() function

How to send an email from within a PHP page using the built in mail() function.
The code

<?php
// Your email address
$email = "you@example.com";
// The subject
$subject = "Enter your subject here";
// The message
$message = "Enter your message here";
mail($email, $subject, $message, "From: $email");
echo "The email has been sent.";
?>




 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
PHP Email Systems Send email using the PHP mail() function Tutorial

View Tutorial:
PHP Email Systems Send email using the PHP mail() function Tutorial

Related Tutorials:

Displaying 1 - 0 of about 0 Related Tutorials.

Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.