Error: connect ECONNREFUSED 127.0.0.1:578 or Error: getaddrinfo ENOTFOUND smpt.gmail.com
The error message "getaddrinfo ENOTFOUND smpt.gmail.com" indicates that the hostname "smpt.gmail.com" could not be resolved. There seems to be a typographical error in the hostname. It should be "smtp.gmail.com" instead of "smpt.gmail.com".
To resolv...
devverse.hashnode.dev1 min read