Jeremy Peter
Jeremy Peter
Hey @mordmaman, It's currently not possible. The best way is to host your images on a remote server and use the absolute url as the image source.
Look like the new version of Juice supports it https://github.com/Automattic/juice/blob/master/client.js#L23 so we'll have to up our version
@aj1991 version `1.4.0` now supports Juice 2.0. So you can do what you want using setting the following : ``` javascript juice : { applyAttributesTableElements: true } ```
@HowardChris You'll have to set the `applyAttributesTableElements` Juice option to `true`. Here's kind of a working example: **index.html** ```html table { background-color: red; } .... ``` **main.js** ```js var EmailBuilder...
@HowardChris Set the `options.cheerio.xmlMode` to `true` ```js var EmailBuilder = require('email-builder-core'); var emailBuilder = new EmailBuilder({ juice: { applyAttributesTableElements: true }, cheerio: { xmlMode: true } }); ```
@ligockym You should be able to use the Juice option `preserveImportant` and set it to `true` Example: ```javascript var options = { juice: { preserveImportant: true } } var emailBuilder...
Here's a quick example of how could do this ``` javascript api.account.getClients(function(err, clients){ clients.forEach(function(client){ if(client.name === 'Client Name'){ var clientId = client.clientId; api.clients.getLists(clientId, function(err, lists){ lists.forEach(function(list){ if(list.Name === "List Name"){...
+1 - Would be very helpful
Yeah there's a `subject` option that you can set, that looks like I never added to the README oops! So the options would look something like: ``` javascript { subject:...
Do you think creating an `options.listClients` would be useful? If set to `true` it would log them. I have created a function that I personally use that does just that.