add send mail lib

This commit is contained in:
Jay
2017-06-05 18:25:48 +08:00
parent 69d560a21a
commit e094b97f10
6 changed files with 53 additions and 1 deletions
+8
View File
@@ -16,5 +16,13 @@
"port": 27017,
"dbname": "lora"
}
},
"smtp": {
"sys_mail": "admin@localhost",
"host": "localhost",
"port": 587,
"secure": false,
"user": "admin",
"pass": "pass"
}
}