styx's People
styx's Issues
set mail-status to sent
Styx Client
For a small PoC we should have a minimal web based client.
The client should at least show:
- a live log of current enqueues (websockets?)
- a live log of current sent mails (websockets?)
- integrated kibana charts?
seperate api and worker-backend
extract api part and worker part into two seperate go files that will be called from main.go
mail-status improve
add all mail fields except body
clients by type concat ", "
RFC Conform Mails
All sent mails should be RFC Conform https://tools.ietf.org/html/rfc4021
At the moment we are missing bc and return-path headers.
We also need custom headers for our mail context and the mail id
Proposal:
- karriere-mail-context
- karriere-mail-id
These features are not supported by mailyak (or i'm just to stupid to use it).
We either find a way with mailyak or change to another library (we should be fine with de default mailer)
CORS / Custom Headers
Da es ja eine API ist sollten wir auch CORS/Custom-Headers berücksichtigen welche die API versteht.
Wie das ganze aussehen kann weis ich jetzt noch nicht - Ticket is eher gedacht als platzhalter
Save mail body to filesystem
In order to resend mails or to create "view in browser" links we must be able to store all mails in filesystem.
It's probably a good idea to use a hashed form of the file as filename since a lot of mails are identical.
send actual mails
we should be able to send mail. In order for this project to work like intendet
add consume to queue.go
publish mail to queue
send mail as json to rabbitmq queue with MailID as Message ID
define queue workers
one worker for queue consume -> sends mail to smtp worker -> sends mail to success worker (db status update)
send attachments with mails
What do do with invalid entries in queue?
What if a mail from queue can't be sent? Either because of an invalid format, missing information or a not responding smtp?
At the moment wie panic.
add kibana
create mail-attachment endpoint
POST /api/mail-attachment
- store attachment on disk
- should return a unique attachment identifier that can be used as attachment reference in POST /api/mail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.