The construction of the mail $body looks weird at first, but it's really just a simple string.
public static sendVerificationEmail ( integer $user_id, string $user_email, string $user_activation_hash ) : boolean | ||
$user_id | integer | user's id |
$user_email | string | user's email |
$user_activation_hash | string | user's mail verification hash string |
Результат | boolean | gives back true if mail has been sent, gives back false if no mail could been sent |