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 ?
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.
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
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.