PHP code example of zbateson / php-dummy-sendmail

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

    

zbateson / php-dummy-sendmail example snippets

bash
mv php-dummy-sendmail.phar /usr/local/bin/php-sendmail
bash
php sendmail

php sendmail