smtp - How to use X-MC-MergeVars for handlebars -
i new mandrill , trying setup mail using handlebars , smtp. template looks - <span> {{username}}, </span> welcome ...... this mailer.js looks (running on node.js) var mailer = require("mailer") , username = "**@***.com" , password = "*********"; mailer.send( {host: "smtp.mandrillapp.com", port: 25, to: "**@gmail.com", from: "**@gmail.com", subject: "mail using mandrill!", authentication: "login", username: "**@**.com", password: "********", headers: { "x-mc-track": "clicks", "x-mc-autotext": true, "x-mc-template": "newsfeed", "x-mc-mergevars": {"username": "pranav"}, "x-mc-mergelanguage": "handlebars" } }, function(err, result){ if(err){...