Im trying to send an email via outlook to verify the user accounts on my project but im getting this weird error…
Also, im using wsl with ubuntu installed and same code works on windows (sends the email) but on linux i always get the error.
I figured it out!
The error that i was facing is that the SMTP server was expecting an FQDN during the HELO/EHLO stage of the SMTP handshake, and my “DESKTOP-Name” (hostname) was not considered a valid FQDN.
So i changed it to a more generic name using this comand < sudo hostnamectl set-hostname localhost.localdomain >.
1 Like
Hi! I am just wondering how does it work when you deploy this?