I use Windows and Yii 188.8.131.52 and xampp with php7.1.4.
When logging in, I click on reset it link and i'm entering my email and send, I encounter this error:
Process could not be started [The system cannot find the path specified.
'mailer' => [
'class' => 'yii\swiftmailer\Mailer',
'viewPath' => '@common/mail',
// send all mails to a file by default. You have to set
// 'useFileTransport' to false and configure a transport
// for the mailer to send real emails.
'useFileTransport' => false,
Seems that in your config is missing the transport config
eg: using gmail.com as transport (you should choose the trasport available for your host)
'mailer' => [ 'class' => 'yii\swiftmailer\Mailer', 'viewPath' => '@common/mail', 'useFileTransport' => false,//set this property to false to send mails to real email addresses 'transport' => [ 'class' => 'Swift_SmtpTransport', 'host' => 'smtp.gmail.com', 'username' => 'email@example.com', 'password' => 'your_password', 'port' => '587', 'encryption' => 'tls', 'streamOptions' => [ 'ssl' => [ 'verify_peer' => false, 'allow_self_signed' => true ], ] ], ],
Everything is right now