rschmukler / powerdrill

Mandrill, with Power
55 stars 9 forks source link

Error: You must specify a template_name value #8

Closed Ehesp closed 9 years ago

Ehesp commented 9 years ago

The following code generates the error:

        var message = email();
        message
            .subject(options.subject)
            .to(options.to)
            .html(options.body)
            .send(function(err, resp) {
                console.log(err);
                console.log(resp);
                callback();
            });
{ status: 'error',
  code: -1,
  name: 'ValidationError',
  message: 'You must specify a template_name value' }

As per the example, do we need to specify a template?

rschmukler commented 9 years ago

Can you try again with 0.2.13 and see if it works? I wasn't able to reproduce the error...