eoghanobrien/php-simple-mail

The make() function is redundant

Closed this issue · 1 comments

This works just as well

   $mail = new SimpleMail();
   $mail
	    ->setTo($to,$name)
	    ->setFrom($fromUser, $fromName)
	    ->setSubject($subject)
	    ->setMessage($body)
	    ->setReplyTo($to,$name);

$send = $mail->send();

It does, makeis a helper to simplify creating a new instance. You don't have to use it.