PHP code example of alexm / notification
1. Go to this page and download the library: Download alexm/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/ */
alexm / notification example snippets
sh
<? php
_DIR__. '/vendor/autoload.php';
USE Notification \ 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");