Sending Templated Emails with Node.JS

  Рет қаралды 43,397

GeekLaunch

GeekLaunch

Күн бұрын

Пікірлер: 46
@jared4670
@jared4670 4 жыл бұрын
Could you do a new video using the latest version of email-templates with handlebars and localization examples? I would greatly appreciate it and I am sure many other people would as well.
@rashidtp4411
@rashidtp4411 4 жыл бұрын
thanks bro.... really helped me for my project. keep going ....all the best....love you man
@siddhibudhale4352
@siddhibudhale4352 3 жыл бұрын
I have existing code in node js on aws lambda and in that there is email body. Email has feedback in it. I want to make that feedback in email in tabular form. How can I do that with existing code?? Can you please guide me?
@italogothardo
@italogothardo 2 жыл бұрын
thx for share this content! You help me a lot with that!
@liedebunker1253
@liedebunker1253 2 жыл бұрын
Hi. When I tried to run "node index.js", I got a error, saying that "TypeError: EmailTemplate is not a constructor". Can you help please? Thanks!
@ritzuco
@ritzuco 7 жыл бұрын
Thank you so much for this tutorial, it helped me a lot and it was easy to follow... really good work
@GeekLaunch
@GeekLaunch 7 жыл бұрын
+Alberto Serrano Thank you!
@duta5272
@duta5272 6 жыл бұрын
Thank you. Very helpful tutorial.
@GeekLaunch
@GeekLaunch 6 жыл бұрын
Thanks for watching!
@elementfayt
@elementfayt 7 жыл бұрын
I'm using webstorm IDE and when I write the code in for your tutorial it all comes back as errs, because of stuff like =>. Any idea why this is? Is there something I need to have installed first?
@GeekLaunch
@GeekLaunch 7 жыл бұрын
+elementfayt make sure you have support for recent ecmascript features enabled.
@elementfayt
@elementfayt 7 жыл бұрын
Thanks for the quick reply I was set on 5.1 now i'm on 6.0.
@hadar9803
@hadar9803 6 жыл бұрын
Hi I followed the tutorial I get this error : (node:31292) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) any idea what went wrong?
@rogerbob3807
@rogerbob3807 6 жыл бұрын
I got the same error. Were you able to resolve?
@jared4670
@jared4670 5 жыл бұрын
As per the description: "NOTE: The latest major version of email-templates contains breaking changes that aren't compatible with the code shown in this video. If you want to follow the code shown in this video exactly, install email-templates@2,"
@jeanc2694
@jeanc2694 6 жыл бұрын
How would you go about adding in line images to this? Great video btw
@jared4670
@jared4670 5 жыл бұрын
same way you would need to include images in normal HTML. img tag with a src pointing to an externally hosted image. Or if the image is hosted on your website then include the src location in the same way it can be visible externally.
@chCasperr
@chCasperr 6 жыл бұрын
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Message failed: 432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded I am getting this error when i try to send multiple emails. hope you can help me
@GeekLaunch
@GeekLaunch 6 жыл бұрын
Are you using gmail credentials?
@GeekLaunch
@GeekLaunch 6 жыл бұрын
Does this help? www.experts-exchange.com/questions/28182104/432-4-3-2-STOREDRV-Deliver-recipient-thread-limit-exceeded.html
@chCasperr
@chCasperr 6 жыл бұрын
no i am using hotmail
@eduardohernandez552
@eduardohernandez552 6 жыл бұрын
I would like to know more about the security of this method? These are super new concepts for me? Is this secure? Excellent material btw, thank you so much
@GeekLaunch
@GeekLaunch 6 жыл бұрын
This is a slightly outdated tutorial now, but the 'security' portion should be fine unless you allow people to send email or modify templates of their own volition. Otherwise all you're doing is telling your email server to send a message to another email server using templates that you wrote.
@vitaliyduvalko4335
@vitaliyduvalko4335 7 жыл бұрын
now the error is thrown: EmailTemplate is not a costructor
@GeekLaunch
@GeekLaunch 7 жыл бұрын
Thanks for pointing that out. I've updated the description of this video and the README on GitHub!
@antoniomassa8607
@antoniomassa8607 7 жыл бұрын
Where is creds.js? I lost it. Thank you
@GeekLaunch
@GeekLaunch 7 жыл бұрын
+Antonio Massa You need to create that file yourself. It can just be a json file with your username and password for your email.
@antoniomassa8607
@antoniomassa8607 7 жыл бұрын
Thank you
@kisorjs4993
@kisorjs4993 7 жыл бұрын
this tutorial is pretty fruitful, can you explain how can i dynamically add/update those handlebars file using angualr/angular2
@GeekLaunch
@GeekLaunch 7 жыл бұрын
+kisor js I'm sorry, I don't know angular
@dropdabomb404
@dropdabomb404 7 жыл бұрын
great work
@GeekLaunch
@GeekLaunch 7 жыл бұрын
+jean t Thank you!
@johe5644
@johe5644 6 жыл бұрын
Hey, Nice Tutorial. It helped a lot. I dont get the Creds.js implemented. Can anyone Help :) Best wishes Josef
@jared4670
@jared4670 5 жыл бұрын
You have to create the file yourself: module.exports = { HOST: 'INSERT_HOSTNAME_HERE', USERNAME: 'INSERT_USERNAME_HERE', PASSWORD: 'INSERT_PASSWORD_HERE'};
@aaweshaminsayyed1722
@aaweshaminsayyed1722 2 жыл бұрын
@@jared4670 Hi, i am new to node js. created creds.js (module.exports = { HOST: 'INSERT_HOSTNAME_HERE', USERNAME: 'INSERT_USERNAME_HERE', PASSWORD: 'INSERT_PASSWORD_HERE'};) what is the host name here? is it the machine name or mail hosting service name?
@aaweshaminsayyed1722
@aaweshaminsayyed1722 2 жыл бұрын
getting this error now. "Error: Missing credentials for "PLAIN" " downgraded to email_template version 2.. the flow did work but errored out with this error.
@jorgezamudio8457
@jorgezamudio8457 7 жыл бұрын
Excellent
@GeekLaunch
@GeekLaunch 7 жыл бұрын
+Jorge ZAMUDIO Thanks!
@elailft6923
@elailft6923 5 жыл бұрын
THANK YOU
@GeekLaunch
@GeekLaunch 5 жыл бұрын
You're welcome! 😁
@RatnaSari-dh1dw
@RatnaSari-dh1dw 6 жыл бұрын
hy, can I ask your email for help?
@GeekLaunch
@GeekLaunch 6 жыл бұрын
Please don't, thanks though.
@Tyrone-Ward
@Tyrone-Ward 3 жыл бұрын
lol Google is free
@jamesdcosta4813
@jamesdcosta4813 2 жыл бұрын
This is outdated like hell. Nothing works! Please update the video or delete it!
Custom MUSIC PLAYER in JavaScript
19:55
GeekLaunch
Рет қаралды 8 М.
Nodemailer - Send Emails From Your Node.js App
29:54
Traversy Media
Рет қаралды 368 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
How to build a REST API with Node js & Express
58:40
Programming with Mosh
Рет қаралды 1,8 МЛН
Sending emails with Node.js using Nodemailer
25:38
manfra․io
Рет қаралды 1,1 М.
Node.js + Express - Tutorial - Handlebars Templating Engine
17:52
Send Emails in Node.js | NodeMailer Tutorial
11:37
OpenJavaScript
Рет қаралды 112 М.
Send email with Nodemailer using gmail account - Nodejs
11:50
Esterling Accime
Рет қаралды 83 М.
The Async Await Episode I Promised
12:04
Fireship
Рет қаралды 1,1 МЛН
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
thoughtbot
Рет қаралды 914 М.
Node.js Crash Course
2:06:35
Traversy Media
Рет қаралды 271 М.