The main mail sending method, this simply calls a certain mail sending method depending on which mail provider
you've selected in the application's config.
public sendMail ( $user_email, $from_email, $from_name, $subject, $body ) : boolean | ||
$user_email | string email | |
$from_email | string sender's email | |
$from_name | string sender's name | |
$subject | string subject | |
$body | string full mail body text | |
Результат | boolean | the success status of the according mail sending method |