node-sendmail: replace is not defined error

I follow the guide to install sendmail and I write a simple piece of code to send a test mail. I don’t know why but I have this error:

Cannot read property 'replace' of undefined

Why? Can you help me? In the code I have all the fields: from,to,subject,text and html…

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (5 by maintainers)

Most upvoted comments

@Geex-Renzo im with you on your second solution. @guileen could you give me or Geex the ability to push new versions on npm ?