node-email icon indicating copy to clipboard operation
node-email copied to clipboard

spawn is not defined

Open accateo opened this issue 9 years ago • 2 comments

Whats the reason for

Uncaught TypeError: spawn is not a function

error? Thanks

accateo avatar Sep 16 '16 18:09 accateo

Same here :(

const lib = require('../../node_modules/email') const Email = lib.Email var mail = new Email({ from: '[email protected]', to: this.email, subject: 'title', body: 'body }) mail.send()

fparedlo avatar Dec 12 '20 17:12 fparedlo

Error: spawn sendmail ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) at onErrorNT (internal/child_process.js:415:16) at process._tickCallback (internal/process/next_tick.js:63:19) Emitted 'error' event at: at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12) at onErrorNT (internal/child_process.js:415:16) at process._tickCallback (internal/process/next_tick.js:63:19) [nodemon] app crashed - waiting for file changes before starting...

I get this error after using email module can anyone knows this

Satish-yadav01 avatar Feb 26 '21 13:02 Satish-yadav01