All Projects → DockYard → Elixir Mail

DockYard / Elixir Mail

Build composable mail messages

Programming Languages

elixir
2628 projects

Labels

Projects that are alternatives of or similar to Elixir Mail

mailtrap
MailTrap has been renamed to Sendria. Please use Sendria now, MailTrap is abandoned. MailTrap is a SMTP server designed to run in your dev/test environment, that is designed to catch any email you or your application is sending, and display it in a web interface instead of sending to real world.
Stars: ✭ 14 (-95.81%)
Mutual labels:  mail
node-mbox
mbox file parser for Node.js
Stars: ✭ 64 (-80.84%)
Mutual labels:  mail
Mailgun
Mailgun package for Laravel
Stars: ✭ 297 (-11.08%)
Mutual labels:  mail
Edu-Mail-Generator
This bot can make 20 different USA college edu mail automatically within 5min.
Stars: ✭ 51 (-84.73%)
Mutual labels:  mail
laravel-mjml
Laravel MJML offers support for rendering MJML syntax into in-line HTML that can be sent within mails.
Stars: ✭ 26 (-92.22%)
Mutual labels:  mail
Mu4e Dashboard
A dashboard for mu4e (mu for emacs)
Stars: ✭ 259 (-22.46%)
Mutual labels:  mail
SPStorkController
Now playing controller from Apple Music, Mail & Podcasts Apple's apps.
Stars: ✭ 2,515 (+652.99%)
Mutual labels:  mail
Zmail
Zmail makes it easier to send and retrieve emails in python3
Stars: ✭ 310 (-7.19%)
Mutual labels:  mail
Excision-Mail
Fullstack, security focused mailserver based on OpenSMTPD for OpenBSD using ansible
Stars: ✭ 108 (-67.66%)
Mutual labels:  mail
Smtp2http
A tiny software that receive a smtp request (email) and send it to the specified webhook as a http post request
Stars: ✭ 294 (-11.98%)
Mutual labels:  mail
himalaya
Command-line interface for email management
Stars: ✭ 1,715 (+413.47%)
Mutual labels:  mail
ProtonClient
An unofficial desktop client for ProtonMail done with electron nativefier
Stars: ✭ 50 (-85.03%)
Mutual labels:  mail
Url Signer
Create and validate signed URLs with a limited lifetime
Stars: ✭ 273 (-18.26%)
Mutual labels:  mail
is-biz-mail-php
isBizMail tells you whether a given email address belongs to a free email account provider (gmail.com, yahoo.es, yandex.ru etc) or not.
Stars: ✭ 19 (-94.31%)
Mutual labels:  mail
Laravel Welcome Notification
Send a welcome notification to new users
Stars: ✭ 299 (-10.48%)
Mutual labels:  mail
mailcat
Fake SMTP server that prints emails to stdout
Stars: ✭ 39 (-88.32%)
Mutual labels:  mail
imapx
A cross-platform IMAP library for .NET, supporting .Net 2.0 - 4.5, Mono and Windows Phone
Stars: ✭ 28 (-91.62%)
Mutual labels:  mail
Laravel Mail Viewer
View all the mailables in your laravel app at a single place
Stars: ✭ 315 (-5.69%)
Mutual labels:  mail
Edu Mail Generator
Generate Free Edu Mail(s) within minutes
Stars: ✭ 301 (-9.88%)
Mutual labels:  mail
Mail
📧 Handy email creation and transfer library for PHP with both text and MIME-compliant support.
Stars: ✭ 288 (-13.77%)
Mutual labels:  mail

Mail Build Status

An RFC2822 implementation in Elixir, built for composability.

Mail is built and maintained by DockYard, contact us for expert Elixir and Phoenix consulting.

Installation

def deps do
  [
    # Get from hex
    {:mail, "~> 0.2"},

    # Or use the latest from master
    {:mail, github: "DockYard/elixir-mail"}
  ]
end

Building

You can quickly build an RFC2822 spec compliant message.

Single-Part

message =
  Mail.build()
  |> Mail.put_text("A great message")
  |> Mail.put_to("[email protected]")
  |> Mail.put_from("[email protected]")
  |> Mail.put_subject("Open me")

Multi-Part

message =
  Mail.build_multipart()
  |> Mail.put_text("Hello there!")
  |> Mail.put_html("<h1>Hello there!</h1>")
  |> Mail.put_attachment("path/to/README.md")
  |> Mail.put_attachment({"README.md", file_data})

Rendering

After you have built your message you can render it:

rendered_message = Mail.Renderers.RFC2822.render(message)

Parsing

If you'd like to parse an already rendered message back into a data model:

Mail.Parsers.RFC2822.parse(rendered_message)

There are more functions described in the docs

Authors

We are very thankful for the many contributors

Versioning

This library follows Semantic Versioning

Looking for help with your Elixir project?

At DockYard we are ready to help you build your next Elixir project. We have a unique expertise in Elixir and Phoenix development that is unmatched. Get in touch!

At DockYard we love Elixir! You can read our Elixir blog posts or come visit us at The Boston Elixir Meetup that we organize.

Want to help?

Please do! We are always looking to improve this library. Please see our Contribution Guidelines on how to properly submit issues and pull requests.

Legal

DockYard, Inc. © 2015

@dockyard

Licensed under the MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].