All Projects → mailman-elixir → Mailman

mailman-elixir / Mailman

Licence: other
Mailman provides a clean way of defining mailers in your Elixir applications

Programming Languages

elixir
2628 projects

Labels

Projects that are alternatives of or similar to Mailman

Logging
Powershell Logging Module
Stars: ✭ 167 (-11.64%)
Mutual labels:  email
Clojure Mail
A Clojure library for parsing, downloading and reading email from IMAP servers.
Stars: ✭ 172 (-8.99%)
Mutual labels:  email
Leaked
Leaked? 2.1 - A Checking tool for Hash codes, Passwords and Emails leaked
Stars: ✭ 184 (-2.65%)
Mutual labels:  email
Emailintentbuilder
An Android Library for the creation of SendTo Intents with mailto: URI
Stars: ✭ 168 (-11.11%)
Mutual labels:  email
Emailvalidation
A simple (but correct) .NET class for validating email addresses
Stars: ✭ 171 (-9.52%)
Mutual labels:  email
Postmark.js
Official Node.js library for the Postmark API
Stars: ✭ 177 (-6.35%)
Mutual labels:  email
Mnm
The legitimate email replacement — n-identity, decentralized, store-and-forward, open protocol, open source. (Server)
Stars: ✭ 162 (-14.29%)
Mutual labels:  email
Ptorx
📩🛡 Email privacy. Anonymously send and receive with alias forwarding.
Stars: ✭ 187 (-1.06%)
Mutual labels:  email
Nixos Mailserver
A complete and Simple Nixos Mailserver
Stars: ✭ 172 (-8.99%)
Mutual labels:  email
Wmail
The missing desktop client for Gmail & Google Inbox
Stars: ✭ 2,093 (+1007.41%)
Mutual labels:  email
Yagmail
Send email in Python conveniently for gmail using yagmail
Stars: ✭ 2,169 (+1047.62%)
Mutual labels:  email
Deltachat Ios
Email-based instant messaging for iOS.
Stars: ✭ 170 (-10.05%)
Mutual labels:  email
Node Sparkpost
SparkPost client library for Node.js
Stars: ✭ 177 (-6.35%)
Mutual labels:  email
Imap tools
Work with email and mailbox by IMAP
Stars: ✭ 167 (-11.64%)
Mutual labels:  email
Blockchain Security Contacts
Directory of security contacts for blockchain companies
Stars: ✭ 186 (-1.59%)
Mutual labels:  email
Ip Biter
IP-Biter: The Hacker-friendly E-Mail (but not only) Tracking Framework
Stars: ✭ 166 (-12.17%)
Mutual labels:  email
Protonmail Account Creator
🚀 Create hundreds of free ProtonMail Email Accounts in the matter of minutes 🚀
Stars: ✭ 173 (-8.47%)
Mutual labels:  email
Awesome Newsletters
A list of amazing Newsletters
Stars: ✭ 2,468 (+1205.82%)
Mutual labels:  email
Lumail
A console-based mail-client with integrated Lua scripting support.
Stars: ✭ 187 (-1.06%)
Mutual labels:  email
Html Email Templates
Free HTML Email Templates created using the Postcards - https://designmodo.com/postcards/
Stars: ✭ 178 (-5.82%)
Mutual labels:  email

Mailman 👮

Elixir CI Docs Hex.pm Version

Mailman lets you send email from your Elixir app.

  • Plain text or multi-part email (plain text and HTML)
  • Inline images in HTML part
  • Attachments (with semi-automatic MIME type detection)
  • Easy-peasy SMTP config
  • Rendering via EEx
  • Standard quoted-printable encoding
  • Automatic CC and BCC delivery
  • Custom headers
  • SMTP delivery timestamps

Mailman is a wrapper around the mighty (but rather low-level) gen_smtp, the popular Erlang SMTP library.

Simple example

context = %Mailman.Context{
  config: %Mailman.SmtpConfig{
      relay: "yourtdomain.com",
      username: "userkey-here",
      password: "passkey-here",
      port: 25,
      tls: :always,
      auth: :always,
  },
  composer: %Mailman.EexComposeConfig{}
}

email = %Mailman.Email{
  subject: "Hello Mailman!",
  from: "[email protected]",
  to: ["[email protected]"],
  cc: ["[email protected]", "[email protected]"],
  bcc: ["[email protected]"],
  data: [
    name: "Yo"
  ],
  text: "Hello! <%= name %> These are Unicode: qżźół",
  html: """
<html>
<body>
 <b>Hello! <%= name %></b> These are Unicode: qżźół
</body>
</html>
"""
}

Mailman.deliver(email, context)
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].