Hi all,
I have a JSON file with a quote for each day of the week. I want to create an automatic daily newsletter.
I have zero experience with JS Frameworks and static websites (only Django). I wanted to use this project as a vehicle to learn JS Frameworks (Vue.JS) specifically.
I have been googling, but couldn't find a viable solution. Did anyone of you have an experience with something like that? Any feedback is welcome. Thanks a ton in advance.
P.S. I will be sending a transactional email via Postmark, as opposed to full marketing email like ConvertKit.
These guys are awesome and have a bunch of examples. Can learn a lot from this one which checks a website on a daily basis and then auto-emails through postmark. https://serverless.com/examples/aws-node-scheduled-weather/
This is great. Thanks so much for sharing that. Added a few posts to my Pocket.
You can also shortcut it and use Code Webhooks and the mail sending with Zapier. https://zapier.com/help/create/code-webhooks
I've been meaning to start using Zapier. I'm not sure why, nut I find it frightening. Thanks for your suggestion.
This doesn't really involve Vue but you could cobble something together with https://github.com/outstack/enveloper . It's a tool I've made.
Might not be what you're looking for but if you can use SMTP with postmark, it could work.
I love open-source projects like that. I will certainly check it out. Since I need somehting quick I will have to use something else now, but will hopefully get to experiment with your solution. Thanks!
Hope you find something suitable. If you ever do experiment, feel free to ask any questions!
One possible way to do this is to create a lambda/cloud function which takes a json file from some storage or database and using the Postmark api sends the email. The function can be invoked by a cloud scheduler/cloud cron service every day. So basically you have to build a lightweight backend functionality. Firebase, AWS, Netlify etc all have the necessary services
Awesome. Thanks for the input. I'll look into that. I've been meaning to explore lambda more in-depth.