PHP code example of chrys / notification

1. Go to this page and download the library: Download chrys/notification library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

chrys / notification example snippets

sh
<? php

fication\Email;

$mail = new Email (2, "mail.host.com", "[email protected]", "your-pass", 
"smtp secure (tls / ssl)", "port (587)", "[email protected]", "From Name");

$email-> sendEmail ("Subject", "Content", "[email protected]", "Replay 
Name", "[email protected]", "Address Name");
sh


ification\Email;

$email = new Email(2, "mail.host.com", "[email protected]", "your-pass", 
"smtp secure (tls/ssl)", "port (587)",
    "[email protected]", "From Name");

$email->sendEmail("SUbject", "Content", "[email protected]", "Replay 
Name", "[email protected]", "Address Name");