Code Monkey home page Code Monkey logo

anypush's Introduction

Feature

  1. Accepting incoming email as SMTP Server, and send it with HTTP (or Webhook).
  2. For Synology NAS email notification redirect currently.
  3. More incoming & output options in the future.

Installation

Start Docker container

docker run --name=anypush --restart=unless-stopped -e WEBHOOK_URL=https://example.com/api -p 0.0.0.0:587:587 stonemoe/anypush:tag_name

Check stable release tags in Release page
Check all available tags in DockerHub repository

Test it

$ telnet localhost 587
Trying localhost...
Connected to localhost.
Escape character is '^]'.
220 anypush Python SMTP proxy version 0.3
HELO localhost
250 anypush
mail from: [email protected]
250 OK
rcpt to: [email protected]
250 OK
data
354 End data with <CR><LF>.<CR><LF>
Hey
This is test email

250 OK
QUIT
221 Bye

Then AnyPush will:

POST https://example.com/api with JSON:
{
  "from": "[email protected]",
  "to": ["[email protected]"],
  "subject": "mail subject",
  "text": "mail content here"
}

Notice

This project is still under heavily development.

You may encounter issues including:

  1. Breaking API compatibility between commits
  2. Trash hard-code
  3. Crash in some case

anypush's People

Contributors

luizeof avatar stonemoe avatar

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.