I have a contact form in node js application when user submit a form the email will send to Gmail account.i’m using nodemailer to send emails from this application. this is working completely fine in localhost, but in the live server the does not send and I never see any error message.
Please help me to find the solution
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Since a long while, DO is blocking port 25 for email traffic. This, so email servers can’t use your VM as a direct mail relay. You can use port 587 & 465 for mailservers as well.
If this isn’t the case, please post some more information like;
Hope this helps you