yordisprieto

yordisprieto

StrawHat.Mailer - email management with templating capability

Hey folks,

We recently create StrawHat.Mailer, a Email Management OTP. We used Swoosh under the hood and try to push the email templates to the database so developers do not have to redeploy and can even push to marketing team the responsibility of email templates :sunglasses:

So far is good for version one but we are trying to see how we could use eex instead of mustache syntax (any help will be appreciated, my knowledge is limited) and also probably add some extra features for email like automated emails campaigns and stuff like that.

Sorry if the documentation is bad, probably it is harder for me than anything else.

I hope you find it useful and use it so we can improve and add more feature.

Most Liked

blatyo

blatyo

Conduit Core Team

You can implement your own engine that defines EEx.Engine.handle_expr/3. But that might be an uphill battle, because you’d need to either whitelist or blacklist the AST’s.

yordisprieto

yordisprieto

Wouldn’t be better just stick to Mustache?

blatyo

blatyo

Conduit Core Team

You should post a link.

To use eex, all you’ll need to do is call EEx.eval_string/3 with the template as the first argument and a keyword list of variables you want available in the template.

yordisprieto

yordisprieto

OMG I completely forgot to put the link, sorry! Folks

blatyo

blatyo

Conduit Core Team

Probably

Where Next?

Popular in Libraries Top

josevalim
Hi everyone, We would like to announce that Plataformatec is working on a new MySQL driver called MyXQL. Our goal is to eventually integ...
New
tompave
Hello there, I would like to share a feature toggles library (AKA feature flags) I’ve been working on. The main package is FunWithFlags...
New
nikokozak
Hello all, I’ve been working on Svonix - a library for quickly integrating Svelte components into Phoenix views. It’s a much-needed succ...
New
blatyo
https://www.conduitframework.com/ The best overview for how things are tied together is this presentation. Modules and functions are pre...
New
danschultzer
In short Plug n’ play OAuth 2.0 provider library. Just set up a resource owner schema with Ecto (your user schema), install the dependen...
New
alisinabh
Hey everyone i’ve developed a library for Jalaali calendar for elixir which supports converting Gregorian dates to Jalaali and vice vers...
New
ahamez
Hi everyone, I’ve been working on this protobuf library for 3 years. We use it in the company I work for, EasyMile, to communicate with ...
New
wmnnd
Hi there, for my project DBLSQD, I needed a file storage solution that is a bit more flexible than Arc. Because I thought others might f...
New
tmbb
I’ve decided to create this topic to discuss optimization possibilities for something like Phoenix LiveView. I’ve created this topic unde...
New
gjaldon
As the title states, EctoEnum has just been updated after some time of hardly any activity in the repo. Here’s the latest release: https:...
New

Other popular topics Top

yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
Tee
can someone please explain to me how Enum.reduce works with maps
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New

Sub Categories:

We're in Beta

About us Mission Statement