The make() function is redundant
Closed this issue · 1 comments
pradeshc commented
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();
eoghanobrien commented
It does, make
is a helper to simplify creating a new instance. You don't have to use it.