@@ -160,7 +160,7 @@ function Submit(req, res) {
}catch(err){
}
- if (req.body.email !== undefined) {
+ if (req.body.email !== undefined && req.body.email !== "") {
console.log(req.body.email)
transporter.sendMail({
from: '"xiey0" <xiey0@qq.com>',