Open uklotzde opened 5 years ago
All the subscriptions and notifications should be handled by an external service. After the introduction of GET /entries/recently-added
in #198 this is now possible.
E-Mail API gateway is done, https://github.com/kartevonmorgen/openfairdb/pull/259 but not in use yet. Our server still sends mails directly. Needs to change.
@magdaddy What is the state of this issue at the moment?
Currently all e-mails (signup, subscription, password reset) are dispatched to a local
sendmail
instance. This has various restrictions and drawbacks:The current implementation should be replaced by dispatching the sending of e-mails to a service provider.
Overview: https://konghq.com/blog/list-of-10-email-apis/
The implementation should define an abstract interfaces that allow switching from one provider to another if required and doesn't introduce any dependencies on the actual API into the use cases.
Related issues:
166 Decouple post-processing from requests
172 Email-format issue
44 Send notifications as daily summary
45 Add link to unsubscribe in notification mail
95 Changes in email-texts
68 Support email templates
ToDo's