Created
March 31, 2019 11:56
-
-
Save dura0ok/d19a28e17876439531cc122fb5b14529 to your computer and use it in GitHub Desktop.
Using my plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require "vendor/autoload.php"; | |
use App\Spammer\PHPSpammer; | |
$spammer = new PHPSpammer('email', 'password', 'from', | |
'Subject', 'file where emails', 'logging or not(1-true) empty if false'); | |
$spammer->setAttachment('mood.jpg', 'mood.jpg'); | |
$spammer->setAttachment('images/test.jpg', 'name.jpg'); | |
$spammer->send('body.html'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment