Search
 
SCRIPT & CODE EXAMPLE
 

PHP

smtp php test

<?php 
    ini_set( 'display_errors', 1 );
    error_reporting( E_ALL );
    $from = "emailtest@YOURDOMAIN";
    $to = "YOUREMAILADDRESS";
    $subject = "PHP Mail Test script";
    $message = "This is a test to check the PHP Mail functionality";
    $headers = "From:" . $from;
    mail($to,$subject,$message, $headers);
    echo "Test email sent";
?>
Comment

PREVIOUS NEXT
Code Example
Php :: query builder "not in" laravel 
Php :: get taxonomies for custom post type 
Php :: php get ip from host 
Php :: laravel blade image 
Php :: php var exists 
Php :: run a server php terminal 
Php :: php get class name without namespace from string 
Php :: root directory in php 
Php :: how to get woocommerce category image 
Php :: how to add attributes to an exsisting object in php 
Php :: php foreach 
Php :: php syntax <<< 
Php :: get file name from url in php 
Php :: Undefined index: HTTP_HOST 
Php :: laravel form in 24 hours format 
Php :: use ternary operator as null coalescing operator in php 
Php :: get the current date and time in php 
Php :: http error 500 - php file 
Php :: check if array value exists in another array php 
Php :: migration create symfony 
Php :: Class "AppHttpControllersAdminAuth" not found 
Php :: php const 
Php :: PHP substr_count — Count the number of substring occurrences 
Php :: model json laravel accessor to convert to array 
Php :: laravel sail publish 
Php :: array_push in php 
Php :: getMessage in php 
Php :: get country from ip address 
Php :: replace multiple characters one string php 
Php :: how get the Photo size upload in laravel 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =