this.domain causes failure since node 0.8.8 uses a domain field on EventEmitter
Seems that event emitters in node 0.8.8 have a domain member that conflicts with your usage of domain. There is a problem in events.js at line:
events.js:80
this.domain.enter();
^
TypeError: Object
where
Thanks for the info, richtera. I've created a pull request to patch it: https://github.com/weaver/node-mail/pull/25. I just did s/domain/domainName/g on the module. I don't know if it's the best solution or not (it does break backward compatibility a bit), but it was my quick and dirty way to make the module usable again.