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); }