Hi
Please check the SMTP credential using mailtrap.io
Create an account here https://mailtrap.io/
You will get an SMTP credential with inbox to check the email.
Set the SMTP to your application.
And test the email, if it work, then there is something wrong with your previous SMTP.
Best Regards