Thursday 24, April 2014
Welcome Guest, Register | Login  
      Home    |    Tutorials    |    Free Ebooks    |    Free Scripts    |    Articles    |    Blog     |    About Us    |    Contact Us

  sending email using mail function in php

An example to send email using php mail() function.
Cut & Paste Script
<?php
    $headers = "From:sender@studiesinn.com\r\n";
    $to= "receiver@studiesinn.com";
    $subject="This is email subject";
    $msgbody="this is email body";
    mail($recipients, $subject, $msgbody, $headers);
?>
 
   
     RELATED SCRIPTS
 
Email validation using regular expression php
Here is a php script to validate email address. We are using regular expression for validation....more »
Category : PHP Examples Hits : 1855
   
Reversing a string using php
This code example will reverse the given string using php....more »
Category : PHP Examples Hits : 1401
   
Comparing two arrays using php
This code example will take two arrays and compares 2nd array with 1st. It will show the list of elements which are not found in the first array....more »
Category : PHP Examples Hits : 1245
   
setting and retrieving cookies using php
Here is an example to write and retrieve cookies using php. The setcookie() function is used to set a cookie and $_COOKIE variable to retrieve cookie value....more »
Category : PHP Examples Hits : 891
   
Uploading file using php
Here is a simple script to upload file using php. we are using move_uploaded_file function to upload file. The move_uploaded_file function needs two parameters
1. The path of the temporary file.
2. The path where it is to be moved to.
...more »
Category : PHP Examples Hits : 882
   
   
SCRIPT CATEGORIES
 
  C Programs
C Programs scripts
  C++ Programs
C++ Programs scripts
  Java Programs
Java Programs scripts
  JavaScript Examples
JavaScript Examples scripts
  PHP Examples
PHP Examples scripts
  VBScript Examples
VBScript Examples scripts
 
 
 
POPULAR E-BOOKS
 
Download An Introduction to the Theory of Computation  Ebook An Introduction to the Theory of Computation
   
Download C Sharp Beginners Ebook C Sharp Beginners
   
Download The Big Fat Lie Files Ebook The Big Fat Lie Files
   
Download Video Marketing Tactics Using Ebook Video Marketing Tactics Using
   
Download No BS Video Marketing Ecourse Unleashed  Ebook No BS Video Marketing Ecourse Unleashed
   
     
Studiesinn.com 2014 All Rights Reserved.
 
Website Designed & Developed by TechXprtz