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

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
kpanic
Hi everyone, I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding. I sta...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
asweet-confluent
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
ryanwinchester
apply_graft/2 doesn’t rewrite an add_many sub-workflow’s deps on an add step. Grafted jobs cancel with “upstream job was deleted” Version...
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
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
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
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews