1 | sendmail = require('../sendmail')();
|
2 |
|
3 | sendmail({
|
4 | from: 'test@yourdomain.com',
|
5 | to: 'test@qq.com, test@gmail.com, test@sohu.com, test@163.com ',
|
6 | subject: 'test sendmail',
|
7 | content: 'Mail of test sendmail ',
|
8 | }, function(err, reply) {
|
9 | console.log(err && err.stack);
|
10 | console.dir(reply);
|
11 | });
|
12 |
|