mirror of https://github.com/IoTcat/ushio-mail.git
parent
32d58d284b
commit
5ce07747f5
2 changed files with 20 additions and 2 deletions
@ -1,2 +1,20 @@ |
||||
# ushio-mail |
||||
ushio mail modules |
||||
|
||||
## Quick Start |
||||
|
||||
### Import mail module |
||||
|
||||
```js |
||||
const mail = require('ushio-mail')(API_url); //substitute the API_url |
||||
|
||||
``` |
||||
|
||||
### Send mail |
||||
|
||||
```js |
||||
await mail.send(To, Subject, Body, From); |
||||
``` |
||||
|
||||
## License |
||||
|
||||
Apache-2.0 |
Loading…
Reference in new issue