1 | var sendmail = require('../sendmail')({silent: true})
|
2 |
|
3 | sendmail({
|
4 | from: 'test@yourdomain.com',
|
5 | to: 'info@yourdomain.com',
|
6 | replyTo: 'jason@yourdomain.com',
|
7 | subject: 'MailComposer sendmail',
|
8 | html: 'Mail of test sendmail '
|
9 | }, function (err, reply) {
|
10 | console.log(err && err.stack)
|
11 | console.dir(reply)
|
12 | })
|
13 |
|