DEV Community

Discussion on: Submit a form and receive email Using Express, Nodejs, Nodemailer and MailGun - Complete Guide

Collapse
 
otumianempire profile image
Michael Otu

In the full code for server.js, you did res.status({ message: 'Email sent!!!' }); in the else block of the sendMail function

Collapse
 
umekalu profile image
Ume Abraham Kalu

Yes, that's when no error occurred.