this post was submitted on 18 Aug 2023
24 points (90.0% liked)

Selfhosted

40438 readers
453 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I have an e-commerce website that needs to send emails to my clients to confirm shipping... Do you have any free software to advise to send emails with a rest API? Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] AdminWorker@lemmy.ca 2 points 1 year ago* (last edited 1 year ago) (1 children)

A lot of "degoogling" talk has discussed how to degoogled email in a graceful way (Gmail has huge market share). Let me find that community.

Edit: https://sh.itjust.works/post/3044652

Edit: based on that post, you probably want fastmail to selfhost. Now the official API of mail clients is jmap, so it may not be "rest" and you may not be able to find a "reliable" rest api

Edit final: check this out https://en.m.wikipedia.org/wiki/Comparison_of_mail_servers And I still don't know what ones have a rest api.

[–] not_exactly@feddit.de 3 points 1 year ago (1 children)

I think JMAP (the IMAP successor) is the best choice here. It was designed to be an open alternative to the proprietary APIs offered by Gmail and the like. It offers a JSON API that clients can talk to using HTTP. The JMAP website has some examples: https://jmap.io/crash-course.html

So it seems that a simple server that implements JMAP would be what the OP is looking for, perhaps https://github.com/stalwartlabs/mail-server (which also supports SMTP/IMAP for compatibility with other clients)?

[–] outcide@lemmy.world 2 points 1 year ago

Was going to say the same thing.