This component is registered on each LUYA instance, how to use:
php
if (Yii::$app->mail->compose('Subject', 'Message body of the Mail'->adress('info@example.com')->send()) {
echo "Mail has been sent!";
} else {
echo "Error" : Yii::$app->mail->error;
}
SMTP debug help:
swaks -s HOST -p 587 -ehlo localhost -au AUTH_USER -to TO_ADRESSE -tls