Example: $mail = new Mail(); $mail->to('[email protected]'); $mail->from('Somebody [email protected]'); $mail->subject('Any subject'); $mail->send();