PHP code example of naamaslima / notification

1. Go to this page and download the library: Download naamaslima/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/ */

    

naamaslima / notification example snippets

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("[email protected]", "[email protected]", "Replay Name", "Subject", "Body");