guileen / node-sendmail

send mail without setting up a SMTP server
http://guileen.github.com/node-sendmail
MIT License
560 stars 108 forks source link

Example on your site incorrect? #9

Closed guidocalvano closed 8 years ago

guidocalvano commented 11 years ago

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')() ;

Digital-Thor commented 11 years ago

Agreed. I noticed this as well and had to add: var sendmail = require( 'sendmail')();

El4a commented 8 years ago

Tbh, I still can't get the example to work

dopatraman commented 8 years ago

I also cannot get the example to work.

guileen commented 8 years ago

It should work now, make sure change to your own mail address, and check the junk mail in your mailbox.