jmosbech / mail-null

Fake SMTP server that doesn't deliver the received emails. Useful for debugging and testing apps that send email.
27 stars 12 forks source link

Broken on OSX #12

Open sebastianhaas opened 7 years ago

sebastianhaas commented 7 years ago

Hey, the project appears to be broken on OSX:

mail-null yields:

env: node\r: No such file or directory

A quick search shows that this might be related to DOS line endings: https://github.com/nwjs/nw-builder/issues/75

And indeed, after I removed the line break in bin/mail-null after the shebang, everything works fine.

Would you be willing to change your project/git settings to UNIX line breaks so that this can be used on OSX as well?

Thanks

jmosbech commented 7 years ago

This is quite weird. It seems that this issue should be fixed by: https://github.com/jmosbech/mail-null/commit/5f8cd55e5ea636924d44e92c4162845fced5ab92

Are you running the latest version?