Friday 3, July 2015
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
 
Reversing a string using php
This code example will reverse the given string using php....more »
Category : PHP Examples Hits : 1736
   
Difference Between two dates using php
This function will return the number of days elapsed between two dates....more »
Category : PHP Examples Hits : 1284
   
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 : 1572
   
authenticating user with browser authenticate dialog box using php
Here is a script to authenticate user with browser authenticate dailog box. Username and password is hard codded in page and will be matched with user input....more »
Category : PHP Examples Hits : 1391
   
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 : 1190
   
   
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 Super Affiliate Marketing Secrets  Ebook Super Affiliate Marketing Secrets
   
Download Affiliate Marketing Mistakes & How To Make Sure You Avoid Them  Ebook Affiliate Marketing Mistakes & How To Make Sure You Avoid Them
   
Download Design of VLSI Systems Ebook Design of VLSI Systems
   
Download Computational Modeling and Complexity Science  Ebook Computational Modeling and Complexity Science
   
Download The 7 Great Lies of Network Marketing  Ebook The 7 Great Lies of Network Marketing
   
     
Studiesinn.com 2015 All Rights Reserved.
 
Website Designed & Developed by TechXprtz