straw-hat-labs / straw_hat_mailer Goto Github PK
View Code? Open in Web Editor NEWEmail Management
Home Page: https://hex.pm/packages/straw_hat_mailer
License: MIT License
Email Management
Home Page: https://hex.pm/packages/straw_hat_mailer
License: MIT License
It is useful to know when the template was inserted and the last update.
timestamps()
to the migrationtimestamps()
to Schema@ozorrilla mira esto y piensa como hacerlo
https://www.campaignmonitor.com/blog/email-marketing/2011/12/a-practical-guide-to-email-preheaders/
{:module, :function}
so it will send the data to the email@ozorrilla agrega el campo de text_body
de nuevo y posiblemente en el partial pones html_header
, text_header
, html_footer
y text_footer
@ozorrilla hechale un ojo a esta pagina y extrae algunas funcionalidades e ideas para integrarlo.
Me gusta la idea de pasar un JSON como data asi no tienes que depende de programar nada en el backend y se puede usar HTTP si queremos
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html
I am not sure how they did this
Following swoosh/swoosh#160
I am not sure if this is a good idea, normally I don't see it in other platforms but I see the use cases, specially that we do not want to update 5 emails templates when some generic footer change.
Probably create some partials templates (even use another table for this) and use them in the original templates. Using some mustache syntax for render the partial in some spot.
cc: @princemaple @stevedomin @anthonator folks I would love to have your feedbacks on this, right now I am using mustache because I didn't figure out which template engine to use and eex
you can call whatever you want inside ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.