Giter Site home page Giter Site logo

unisender's People

Contributors

aeremenok avatar mkedo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

unisender's Issues

List_id is rendered incorrectly

When performing 'sendBatchEmail' the request string looks like "&list_id=1079718%3A+null&body...".
It must look like "&list_id=1079718&body...".
That's because MailList#toString() is used to render the request parameter.

The same thing is probably with "sendEmail" and others.

Error when parsing sendEmail response

When parsing sendEmail response like this

{"email":"[email protected]","headers":[],"error":"not_imported"},
{"email":"[email protected]","headers":[] ,"id":"ABC"},

(in test mode) Unisender throws

Caused by: org.json.JSONException: JSONObject["id"] not found.
        at org.json.JSONObject.get(JSONObject.java:498)
        at org.json.JSONObject.getString(JSONObject.java:669)
        at com.unisender.UniSender.executeSendEmail(UniSender.java:653)
        ... 20 more

Support headers for sendEmail

headers Текст со списком заголовков, каждый заголовок - на отдельной строке в MIME-формате. Пока поддерживаются только два заголовка, Reply-To и Priority, остальные будут проигнорированы. Пример:
Reply-To: [email protected]
Priority: normal

Если отправляется несколько сообщений и заголовки должны быть свои для каждого адреса, то для headers применяется синтаксис массива, количество элементов которого должно совпадать с количеством элементов массива email.

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.