From aeb8dda647a714859dc3f77db8ab71a04bc7c426 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sat, 13 Apr 2019 18:34:40 +0200 Subject: [PATCH] fix for the new send interface --- lib/mailcannon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mailcannon.php b/lib/mailcannon.php index 0417346..f396f17 100644 --- a/lib/mailcannon.php +++ b/lib/mailcannon.php @@ -154,7 +154,7 @@ class mailcannon { $text = @preg_replace($preg_search, $preg_replace, $text); $html = @preg_replace($preg_search, $preg_replace, $html); - self::send($smtp,$from,$to,$subject,$text,$html,$images,$attachments); + self::send($smtp,$from,$to,$from,$subject,$text,$html,$images,$attachments); $count += 1; sleep($delay); }