Your IP : 216.73.216.91


Current Path : /var/www/html/inatote/api-rest/v1/
Upload File :
Current File : /var/www/html/inatote/api-rest/v1/index.php

<?php

$headers = "From: myplace@example.com\r\n";
$headers .= "Reply-To: myplace2@example.com\r\n";
$headers .= "Return-Path: myplace@example.com\r\n";
$headers .= "CC: sombodyelse@example.com\r\n";
$headers .= "BCC: hidden@example.com\r\n";
$subject = 'aa';
$message = '<h1>Hello</h1>';

if ( mail('cba.aalborg@gmail.com',$subject,$message,$headers) ) {
   echo "The email has been sent!";
   } else {
   echo "The email has failed!";
   }
?>