Jonathan

Jonathan

I know there are many different libraries to handle sending mail, but are there anyones for handling receiving of emails ?, im looking to implement something similar to plans@tripit.com, that is i send an email to that address and tripit will parse it and do stuff.. is there a library like that ?

thanks in advance

Showing Posts 1 to 10

hauleth

hauleth

There is mail which implements RFC2822 parser. However you still need to handle receiving emails on your own. You probably would like to use some external service with web hooks for receiving, ex. Mailgun has such feature as well as SparkPost, SendGrid, and Mandrill.

Jonathan

Jonathan OP

thanks for the replys @rodrigues @hauleth, I’ll look into the gen_smtp lib

priojk

priojk

If you don’t mind reading the incoming e-mail from an IMAP-server, there is also this library: https://github.com/Around25/eximap

Paradox

Paradox

I’ll repeat what @hauleth said and assert go with Mailgun or some other provider.

Mailgun makes receiving, and even programmatically routing, a breeze. I used it a few years back to handle RSVPs for my wedding. Far better to deal with a REST/HTTP api than the actual Email protocols

nico_amsterdam

nico_amsterdam

pop3mail receives mail via the Erlang pop3client (a.k.a. Erlpop) from a Pop3-mailserver and decodes the mail.

The readme example shows how to use the elixir API.

maartenvanvliet

maartenvanvliet

I wrote Receivex receivex | Hex that abstracts mail providers for receiving email. Right now Mailgun and Mandrill are supported.

The library is still pretty minimal but worked for me

Rehman

Rehman

you can also try mail author lib Mailroom

gernotkogler

gernotkogler

Hi

I’m looking for an IMAP client package for Elixir. My needs:

  • process existing, not yet processed emails when the server starts
  • handle incoming mails in a callback

I’m interested in Mails with attachments and I need the sender domain and the attachments.

Does anybody have a complete example how to process an inbox with Mailroom using IMAP? The docs are not exactly complete and the IMAP example does not work.

Thanks!

derek-zhou

derek-zhou

IMAP is a beast in complexity. There are some IMAP packages on hex but I dn’t know how good they are. I use POP3 with pop3client:

It is old, it is Erlang, and it is reliable.

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New
rahultumpala
Hello, I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews