PHP code example of juniorcorpse / notifytomail

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

    

juniorcorpse / notifytomail example snippets

sh
<? php

orCorpse\NotifyToMail\Email;


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

$email->boot(
        	"SUbject"
        	"<p>"Content"</b></p>",
        	"[email protected]",
        	"Replay Name"
            )->sendEmail("[email protected]", "Address Name");