Thursday 30, June 2016
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
 
Reading xml file using php
The easiest way to read a well-formed XML file is to use the Document Object Model (DOM) library compiled into some installations of PHP. The DOM library reads the entire XML document into memory and represents it as a tree of nodes. Here is a script which reads the xml file....more »
Category : PHP Examples Hits : 1947
   
Reversing a string using php
This code example will reverse the given string using php....more »
Category : PHP Examples Hits : 1891
   
creating new table in MySql using php
Here is an example to create a new table in mysql database....more »
Category : PHP Examples Hits : 1711
   
Exporting data from MySql table to CSV using PHP
Here is a code example for exporting data from MySql table to a CSV File. CSV file format is a file type that stores tabular data usually processed in applications like Microsoft Excel....more »
Category : PHP Examples Hits : 3303
   
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 : 1354
   
   
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 The Affiliate Marketers Companion  Ebook The Affiliate Marketers Companion
   
Download Qbasic Techniques for Beginners Ebook Qbasic Techniques for Beginners
   
Download IM Marketing Miracle Ebook IM Marketing Miracle
   
Download Developing Web Applications with Ant  Ebook Developing Web Applications with Ant
   
Download tears of the mystic rose Ebook tears of the mystic rose
   
     
Studiesinn.com 2016 All Rights Reserved.
 
Website Designed & Developed by TechXprtz