Closed guidocalvano closed 8 years ago
Agreed. I noticed this as well and had to add: var sendmail = require( 'sendmail')();
Tbh, I still can't get the example to work
I also cannot get the example to work.
It should work now, make sure change to your own mail address, and check the junk mail in your mailbox.
Your example on your site is incorrect:
https://npmjs.org/package/sendmail
sendmail = require('sendmail').sendmail;
it should be this right? That is what it says on the github page.
sendmail = require( 'sendmail')() ;