In step 4 of the readme there is an error when setting variables.
The example code in the readme is as follows...
var sendemail = require('sendemail').email; // no api key
var email = sendemail.email;
sendemail.set_template_directory('./relative/path/to/template/directory');
A function is being assigned to the sendemail variable rather than the module. This will lead to errors when trying to do the steps below.
In step 4 of the readme there is an error when setting variables.
The example code in the readme is as follows...
A function is being assigned to the
sendemail
variable rather than the module. This will lead to errors when trying to do the steps below.