Friday 20, January 2017
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 : 2022
   
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 : 3405
   
creating xml file using php
Here is a script to create xml file using php DOM....more »
Category : PHP Examples Hits : 1732
   
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 : 1694
   
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 : 1443
   
   
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 	A Beginners C++ Ebook A Beginners C++
   
Download Optimizing C++ Ebook Optimizing C++
   
Download 	Java: An Object First Approach Ebook Java: An Object First Approach
   
Download Mail List Cash Extraction  GoldenMine Ebook Mail List Cash Extraction GoldenMine
   
Download Producing Open Source Software: How to Run a Successful Free Software Project  Ebook Producing Open Source Software: How to Run a Successful Free Software Project
   
     
Studiesinn.com 2017 All Rights Reserved.
 
Website Designed & Developed by TechXprtz