Giter Club home page Giter Club logo

Comments (8)

yepher avatar yepher commented on August 17, 2024 1

You are correct. The java library currently limits substitution data to a single string. I recently started thinking through how to expose the more complex substitution schemes that SparkPost supports.

I would welcome a Pull Requests that addresses this if you are up for it. Otherwise I am going to work on this in the near future.

from java-sparkpost.

jygoubet avatar jygoubet commented on August 17, 2024

Ok thanks I'll have a look one of these days if we decide to use sparkpost and it's still an issue

from java-sparkpost.

carmudgeon avatar carmudgeon commented on August 17, 2024

Hi,
this means i wont be able to do something like this?

"substitution_data": { "subject" : "Inconsistencias", "processingdate": "2016-03-22 14:27:02", "inconsistencylist": [ { "guide": "234997175", "lastchangeupdatestatedate": "2016-02-23 19:00:59", "filename": "P_20160322", "amount": 116800 }, { "guide": "234997177", "lastchangeupdatestatedate": "2016-02-23 19:01:00", "filename": "P_20160322", "amount": 116800 } ] }

from java-sparkpost.

yepher avatar yepher commented on August 17, 2024

@carmudgeon

Yes, that is correct. I am working on a new release that will enable your ability to do that as well as inline css.

from java-sparkpost.

carmudgeon avatar carmudgeon commented on August 17, 2024

Hi @yepher i have to ask this, do you have an estimated date of release? :)

from java-sparkpost.

yepher avatar yepher commented on August 17, 2024

I @carmudgeon I'm trying to have it ready by end of day tomorrow.

from java-sparkpost.

carmudgeon avatar carmudgeon commented on August 17, 2024

Awesome!!

from java-sparkpost.

yepher avatar yepher commented on August 17, 2024

This is now available in the Maven repo.

from java-sparkpost.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.