Giter Club home page Giter Club logo

mjml-server's People

Contributors

krzysztofjablonski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mjml-server's Issues

Run as Daemon / Background Task

Hi,

is there a way to run mjml-server as a Daemon / Background Task?
So that i don't have to keep the CLI open all the time ...

no answer

`curl http://127.0.0.1:1410 -d mjml="" -v

  • Rebuilt URL to: http://127.0.0.1:1410/
  • Trying 127.0.0.1...
  • TCP_NODELAY set
  • Connected to 127.0.0.1 (127.0.0.1) port 1410 (#0)

POST / HTTP/1.1
Host: 127.0.0.1:1410
User-Agent: curl/7.58.0
Accept: /
Content-Length: 18
Content-Type: application/x-www-form-urlencoded

  • upload completely sent off: 18 out of 18 bytes
    < HTTP/1.1 200 OK
    < Content-Type: text/html
    < Date: Wed, 21 Nov 2018 08:42:37 GMT
    < Connection: keep-alive
    < Transfer-Encoding: chunked
    <
  • Connection #0 to host 127.0.0.1 left intact
    `

UTF8 encoding

When using this server I had a problem with encoding, and discovered that it was the querystring.parse function that was doing it. So I removed the whole necessary mjml= part in the body and simplified the mjml argument.

I'm not sure why this happens tho.

To test: make any email template with some utf8 specific characters: @, éàê..

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.