PHP code example of wcplugins / notification

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

    

wcplugins / 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");