Nodemailer - Send Emails From Your Node.js App

Поділитися
Вставка

КОМЕНТАРІ • 618

  • @scholtzgnomie
    @scholtzgnomie 4 роки тому +194

    Video starts at 22:00 for those who are familiar with the basics of Node and Express.

    • @kevaimm1700
      @kevaimm1700 3 роки тому +6

      i wanna upvote you so bad, but it says 69, so take this as an upvote :)

    • @tahid9688
      @tahid9688 2 роки тому

      thanks

    • @aliaalmsouti5370
      @aliaalmsouti5370 2 роки тому +3

      thanks time saver

  • @danielsigut2855
    @danielsigut2855 7 років тому +5

    Brad, you have helped me immensely. I was finding outdated posts on how to use Nodemailer. I finally came across your video and got my form to work. You are awesome and deserve way more than 183K subscribers. I hope you get to one million. Keep up the good work, and you've gained a subscriber :)

    • @TraversyMedia
      @TraversyMedia  7 років тому +3

      Thank you very much :) hopefully someday

    • @JuaNeMe
      @JuaNeMe 4 роки тому

      @@TraversyMedia lol, You already did it :)

  • @praveenbadigerv
    @praveenbadigerv 7 років тому +152

    Guys, don't skip the ads that play on this channel. It will help the channel. I used to skip the ads in the beginning as I wasn't aware of it. Thanks Brad for these awesome videos. Cheers! 🍻

    • @shando_tube
      @shando_tube 7 років тому +3

      In order for the UA-camr to get compensated for the ad, you must either sit through 30 seconds of the ad or through the completion of the ad - whichever one comes first.

    • @AdamTillontheWeb
      @AdamTillontheWeb 6 років тому +1

      Not sure this is actually true. Otherwise the UA-camr is being held accountable for how good the ad actually is, which isn't the case. Would like a reference for this otherwise, since I've heard that it doesn't matter to the channel owner (they just decide how many commericals/where they're placed)

    • @TenaciousDanR
      @TenaciousDanR 6 років тому +6

      Ads? What are those? I never see them thanks to AdBlock. I dont think that google would let you skip ads by default anyways...

    • @bradical8198
      @bradical8198 5 років тому +2

      If he splits the compensation 50/50 with me :)

    • @neenus
      @neenus 5 років тому +5

      @@bradical8198 He's splitting the compensation with you by taking the time to make these videos and share his knowledge with you for free!

  • @doitwithdevon
    @doitwithdevon 6 років тому +1

    Just about the only tutorial I've seen where I was able to roll through a test email on the first try. Kudos my friend.
    *Please make sure to use environment variables when going live. Search for environment variables for NodeJS and you should have no problem you don't wanna expose your credentials to the world!

  • @strikerwow2011
    @strikerwow2011 4 роки тому +11

    DUDE i was searching for 3 days and then I saw you and I remember how cool your videos are!! Thank you!
    Bloody Hell you really are the best!

  • @ozzyfromspace
    @ozzyfromspace 3 роки тому +3

    You made it so easy for me to understand how nodemailer works! Thanks to you, I've successfully implemented nodemailer into my portfolio project (verifying an email address for an express app). You rock, Brad! Seriously, you do!

    • @ludaxofficial
      @ludaxofficial 3 роки тому

      im having an issue integrating this into my existing portfolio, could you pleasae help me out?

    • @ozzyfromspace
      @ozzyfromspace 3 роки тому

      @@ludaxofficial hi, I can try. What’s not adding up?

    • @ludaxofficial
      @ludaxofficial 3 роки тому +1

      @@ozzyfromspace thanks for responding quickly! So, im implementing this back end code into my website and i dont understend if i have to put all my html into the contact.handlebar or only the html of the form.

    • @ozzyfromspace
      @ozzyfromspace 3 роки тому +1

      @@ludaxofficial hi, do you wanna meet on jitsi. It’s an opensource video platform where people can chat in real-time without creating an account?

    • @ozzyfromspace
      @ozzyfromspace 3 роки тому +1

      The approach I would generally recommend is to have an html form so you can post inputs to an app.js type server. Then copy-paste the node-mailer code and replace their test account with your own, and pass an html object (scoped to a div) to the html field. Hopefully this helps. It’s hard to say more without seeing relevant parts of your code.
      I’m online watching a lecture so I’ll see your response if you’re quick enough (within the next 40 minutes or so). Best wishes

  • @asmrdonk3951
    @asmrdonk3951 5 років тому +12

    Every time I look for a web design tutorial, you're the best one that comes up. Thanks so much!

    • @meteachesprogramming9395
      @meteachesprogramming9395 5 років тому +4

      hey bro this is not web designing this is backend development.

    • @nyxtech8692
      @nyxtech8692 3 роки тому

      @@meteachesprogramming9395 Design or Dev does it really matter if your learning?

  • @mikepauls6008
    @mikepauls6008 5 років тому +234

    For anyone having an error similar to "Error: ENOENT: no such file or directory, open '/mnt/c/users/name/Email/views/layouts/main.handlebars'", Use res.render('contact', {layout: false}); instead of res.render('contact');

  • @SatyamShivharey
    @SatyamShivharey 4 роки тому

    Finally I found someone with real knowledge. I was looking for this video all over the internet but people were always using some crap like mailgun with nodemailer. Thanks man, this video really helped me a lot :)

  • @mikejackson8463
    @mikejackson8463 3 роки тому

    Dude! I've been beating me head against a wall for 4 days. This example totally helped me figure out what the issue was. Thanks so much.

    • @2breborn247
      @2breborn247 3 роки тому

      This makes me feel a bit better XD

  • @abdallahrizk8787
    @abdallahrizk8787 7 років тому +6

    mate I have been searching for such a tutorial for a long time, Thanks. One of the best if not the best javascript tutorials channel highly recommended to subscribe

  • @EveretteCar
    @EveretteCar 2 роки тому

    Just started my journey in to backend and wanting to put a contact form on my portfolio. This is awesome, thank you for this. I realize this is about 5 years old at this point but I’m subscribing and looking forward to you new stuff.

  • @Algebrodadio
    @Algebrodadio 7 років тому +1

    Beautiful. I had to go figure nodemailer out for my Heroku app. And then this vid comes out. I wish I had it two weeks ago!
    Nice work Brad.

  • @PandemicGameplay
    @PandemicGameplay 7 років тому +18

    one tip for actually planning on using this live: you can setup system environment variables through your web deploymsnt service (example Heroku) that way you can use those in place of actual usernames passwords for better security.

    • @TraversyMedia
      @TraversyMedia  7 років тому +5

      Thanks

    • @PandemicGameplay
      @PandemicGameplay 7 років тому +1

      Np! btw I love your videos. You practically taught me MEAN JS. Great work!

    • @InphaMyllz
      @InphaMyllz 6 років тому +1

      are you able to get this to work in production? im getting 503 response code, even though it works locally

    • @morriswarachi
      @morriswarachi 6 років тому

      Mine too doesn't work. I hope someone has been able to solve this.

    • @agentklodovsky2591
      @agentklodovsky2591 6 років тому

      how?

  • @kayodeemmanueladetunji3367
    @kayodeemmanueladetunji3367 7 років тому +9

    On a lighter note, I think the dislikes you get might be from old grudges, probably your exes. How on earth would your videos have dislikes, not even from competitors! Thumbs up Brad!

    • @goodluckboy9439
      @goodluckboy9439 4 роки тому

      Mr Kayode can I propose a business ? my email is it.dept@cresentdecal.co.write me and I will explain further . Thanks Window controlAbouti

  • @roopegarcia
    @roopegarcia 7 років тому +4

    Thanks Brad you a re a lifesaver. I've learned so much from you and can't thank you enough for all the free work you do for us. Your new web site is top class. Would like to see how you created that shrinking menu, those animations and milestones. If you don't have anything else going on right now, :)

  • @prateekcool3
    @prateekcool3 7 років тому +2

    Damn! I so wanted this since so many days! Traversy came to rescue again. Thanks man!

  • @eristoff3782
    @eristoff3782 7 років тому

    Best educational content related to web development on UA-cam. By far.

  • @up4life108
    @up4life108 7 років тому +1

    I don't know how, but you always find the most interesting topics for your videos !!

  • @bradical8198
    @bradical8198 7 років тому +1

    I wish my Udemy course oulined a lecture like this, everyone in the course expected to see something like this! Great video!

  • @환이-f6w
    @환이-f6w 2 роки тому

    I started studying after watching a lecture on Udemy. You are always helpful. thank you.

  • @dorsolomon7251
    @dorsolomon7251 7 років тому +39

    Awesome video, would like to see one on payment system.

    • @prateekcool3
      @prateekcool3 7 років тому +3

      Dor Solomon Stripe is Best and it is very easy to integrate.

    • @SogMosee
      @SogMosee 7 років тому +1

      Yep, i have working code if you want to see it.

    • @dorsolomon7251
      @dorsolomon7251 7 років тому

      SogMosee yes that would be great.

  • @inhibited44
    @inhibited44 3 роки тому

    Thanks. Glad you mentioned you didn't use SSL. My website mentions different parameters for no SSL. I have one website on one host with email and another on heroku with no email. I got it so the code in heroku will use the system on my other website to send emails as needed. Cool!

  • @БогданЮрчук-т8о
    @БогданЮрчук-т8о 7 років тому

    man you are awesome!
    i looked all forums in my country, but not found needed info
    thanks a lot!

  • @jitendrakr
    @jitendrakr 7 років тому

    Your videos are very good. Short, crisp and very informational. I have become your subscriber. Thank you.

  • @subhadipdutta4074
    @subhadipdutta4074 4 роки тому +1

    your videos like this,image upload, authentication,session help me in build my major project.....thank you sir...

  • @abhishekmazumdar2072
    @abhishekmazumdar2072 5 років тому

    you got 6 monitors? Brad you're a legend..

  • @ndahayokevin7626
    @ndahayokevin7626 2 роки тому

    Father of Many developers Because of his content

  • @JorgeDev92
    @JorgeDev92 7 років тому

    Yesterday I implemented Nodemailer in my sandbox node + angular app for learning, what a surprise to see now that your video is about nodemailer. XD

  • @quamzgraphix9826
    @quamzgraphix9826 4 роки тому

    Best programming tutor online, thank you very much for this video, it's really helpful

  • @papaOhmTV
    @papaOhmTV 6 років тому

    Another one of them best and helpful tutorials on youtube.. Thanks Brad Traversy!!!

  • @itsamirkhan
    @itsamirkhan 4 роки тому +1

    Congratulations to reach 1 Million :D You deserve

  • @coffeeisthepathtovictory1290

    This is 5 years old but still good, thanks

  • @elipeters5658
    @elipeters5658 6 років тому

    Love the vids!
    One tip is nodemon doesn't require the file extension "node app"

  • @greggsworld4453
    @greggsworld4453 6 років тому

    Thank you! The tls: false trick is what I came here for. Much appreciated.

  • @campusdee391
    @campusdee391 7 років тому

    Awesome video mate! best nodemailer video on the web

  • @naomim1207
    @naomim1207 7 років тому

    Your video is amazing. It helped me a lot. It is for sure the best video I've watched on this subject. Thank you for helping others :)

  • @lightinthedark5708
    @lightinthedark5708 5 років тому +1

    Your video better than Game Of Thrones! Thanks!

    • @goodluckboy9439
      @goodluckboy9439 4 роки тому

      can I propose a business ? my email is it.dept@cresentdecal.co.write me and I will explain further . Thanks Window controlAbouti

  • @Mashtre
    @Mashtre 7 років тому

    Great video man, you've helped me a lot with this topic. Hope you make more videos on node ect.

  • @SmallvilleJW
    @SmallvilleJW 5 років тому

    Thank you so much, Brad! This video helped me configure Nodemailer for our production application.

    • @goodluckboy9439
      @goodluckboy9439 4 роки тому

      Mr Joshua, can I propose a business ? my email is it.dept@cresentdecal.co.write me and I will explain further . Thanks Window controlAbouti

  • @Wardret
    @Wardret 4 роки тому +1

    I dont understand 1 thing, where he put all from the HTML file to the handlebars. When I have my full website, do I have to put all the html to the handlebars or just the class containing the form ?

    • @ludaxofficial
      @ludaxofficial 3 роки тому

      same here, if you find a solution please let me know, im crushing my head into the wall

  • @freston75
    @freston75 6 років тому

    You are the man! I really enjoy your content! and you always put out relevant topics keep it up!

  • @maddutchess5312
    @maddutchess5312 6 років тому

    Thank you for all the tutorials, Brad. Keep 'em comin'.

  • @razashah9040
    @razashah9040 4 роки тому

    Hey Brad! You are a life saver.This tutorial really helped me out.

  • @edd338
    @edd338 6 років тому +1

    Looking forward for the series on hosting!

  • @rosalyna_24
    @rosalyna_24 3 роки тому +2

    how to send email for the person who filled the form ??

  • @rashmiupadhye6444
    @rashmiupadhye6444 4 роки тому

    Thanks a lot ! it worked with one or two changes.But your code helped me!

  • @BrianArtea
    @BrianArtea 4 роки тому

    I must have went through 15 tutorials and finally I got it to work with your video! Thank you. I had to actually put the form inside of view/layouts/main.handlebars and it worked. How do I actually get it to work on a shared hosting server? I to am using inmotion hosting.

  • @yash6680
    @yash6680 6 років тому

    i was stuck using smtpTransport and stuff but your video made it so simple.. thank you very much !! ^_^ ^_^ ^_^

  • @theresashen1327
    @theresashen1327 4 роки тому

    Exactly what I was looking for. Thank you Brad!

  • @codeman6719
    @codeman6719 6 років тому +1

    Hey, you example is working great on local, but the same is not working on live server, I have removed the tls: parameter , the error is " timeout ", please can you help me to get this done

  • @alfredfx0
    @alfredfx0 5 років тому

    Thanks a lot Brad! I used nodemailer with react as my front end which I learned from your React course on Udemy :)

    • @joshuaolajide1479
      @joshuaolajide1479 5 років тому

      Hi Alfred, I'm having I'm trying to implement react with nodemailer but I'm having issues doing that, can you help me out? I will be looking forward to your response.

    • @alfredfx0
      @alfredfx0 5 років тому +1

      @@joshuaolajide1479 sure Joshua, what issues do you have?

    • @joshuaolajide1479
      @joshuaolajide1479 5 років тому

      Thanks for the quick response..... I don't know how to connect my front end (react) with nodemailer.

    • @joshuaolajide1479
      @joshuaolajide1479 5 років тому

      I've been able to get the values in the input but my problem is routing it to the backend

    • @alfredfx0
      @alfredfx0 5 років тому

      @@joshuaolajide1479 for the backend i tested stuff with the following route:
      app.post("/send", (req, res) => {
      console.log(req.body)
      }
      In the front end, I have an action like this:
      const sendEmail = async (formData) => {
      const config = { // don't recall if this is necessary, didn't test yet
      headers: { "Content-Type": "application/json" }
      };
      try {
      const res = await axios.post("localhost:5000/send", formData, config);
      // check what you have returned
      console.log(res.data);
      // ...
      } catch (err) {
      console.log(err);
      // ...
      }
      };
      And in the app I call the sendEmail(formData) providing the name, email and message as formData

  • @travel_ghost22
    @travel_ghost22 5 років тому +19

    For anyone having an error similar to "Error: ENOENT: no such file or directory, open '/mnt/c/users/name/Email/views/layouts/main.handlebars'", Use res.render('contact', {layout: false}); instead of res.render('contact');
    use this instead for all such type of errors
    app.engine('handlebars',exphbs({
    defaultLayout:false,
    }));

    • @sanksars1313
      @sanksars1313 4 роки тому

      @K M Getting this error: Error: Invalid login: 535 Incorrect authentication data
      at SMTPConnection._formatError (D:\NodeJS
      odecontactform-master
      ode_modules
      odemailer\lib\smtp-connection\index.js:605:19)
      at SMTPConnection._actionAUTHComplete (D:\NodeJS
      odecontactform-master
      ode_modules
      odemailer\lib\smtp-connection\index.js:1340:34)
      at SMTPConnection. (D:\NodeJS
      odecontactform-master
      ode_modules
      odemailer\lib\smtp-connection\index.js:378:26)
      at SMTPConnection._processResponse (D:\NodeJS
      odecontactform-master
      ode_modules
      odemailer\lib\smtp-connection\index.js:764:20)
      at SMTPConnection._onData (D:\NodeJS
      odecontactform-master
      ode_modules
      odemailer\lib\smtp-connection\index.js:570:14)
      at TLSSocket. (D:\NodeJS
      odecontactform-master
      ode_modules
      odemailer\lib\smtp-connection\index.js:710:55)
      at TLSSocket.emit (events.js:310:20)
      at addChunk (_stream_readable.js:286:12)
      at readableAddChunk (_stream_readable.js:268:9)
      at TLSSocket.Readable.push (_stream_readable.js:209:10) {
      code: 'EAUTH',
      response: '535 Incorrect authentication data',
      responseCode: 535,
      command: 'AUTH PLAIN'
      }

    • @SubrataBasu2014
      @SubrataBasu2014 4 роки тому

      Thanks!

    • @VictorHPereira
      @VictorHPereira 4 роки тому +1

      @Kumar Anindo, thanks mate!

    • @travel_ghost22
      @travel_ghost22 4 роки тому +1

      God it is really good to see that my comment is helping people

    • @1996adis
      @1996adis 4 роки тому

      I love you, my dude!

  • @bonnyboy23
    @bonnyboy23 7 років тому +1

    I would recommend using yarn package manager as it's much quicker and I find it cleaner to use.
    Love the content, really well taught !

  • @SharePinPoint
    @SharePinPoint 5 років тому

    Thanks man! I couldnt get the handlebars thing going.......Managed to push it by directly sending over the html.....Overall very precise and good!

    • @oscheka
      @oscheka 5 років тому

      Hey could you in depth explain how you managed to fixed it?
      Errors below when I send from the form
      Message sent:
      Preview URL: false
      Error: ENOENT: no such file or directory, open 'C:\Users\Brad\Desktop\Brad_Traversy\Node_imail\views\layouts\main.handlebars'

    • @SharePinPoint
      @SharePinPoint 5 років тому

      @@oscheka
      //Static Folder
      app.use('/public',express.static(path.join(__dirname,'public') ));
      app.use(cors());
      app.get("/",function(req,response){
      response.sendFile(path.join(__dirname+'/public/index.html'));
      //response.sendFile("/views/index.html");
      });

    • @ludaxofficial
      @ludaxofficial 3 роки тому

      @@SharePinPoint hi there, so did you put your html into both public folder and views folder? also, did you put all your html or only the form html? thanks a lot!

    • @SharePinPoint
      @SharePinPoint 3 роки тому

      @@ludaxofficial check the last line of the code. Its almost an year now
      But I think as the last line suggests in views folder. Entire html file including the code

  • @monirhrabby
    @monirhrabby 2 роки тому

    Thanks for sharing. I learned something new from this video

  • @corneliusisaac6539
    @corneliusisaac6539 3 роки тому

    This was very helpful even if I had to watch this in the future.

  • @PaulBuys2011
    @PaulBuys2011 4 роки тому

    Critical point at 22:00 for those who know how to setup forms and express.

  • @kiranhart3396
    @kiranhart3396 7 років тому +13

    You should do a tutorial on how to use PayPal on your website to accept payments

  • @bradbaguyo7374
    @bradbaguyo7374 6 років тому

    Exactly what I'm looking for. Thank you Brad!

  • @tehArgento
    @tehArgento 4 роки тому +1

    How would I make the "contact.handlebars" file load as if it were a index.html?

  • @manojsingh6294
    @manojsingh6294 6 років тому

    Thanks dude! its amazing , quick and simple explanation !

  • @Thesrik23
    @Thesrik23 7 років тому

    Love you Brad! The man of web.

  • @nicolaszambranomadero9715
    @nicolaszambranomadero9715 4 роки тому

    Excelent Video it help me so much to understand nodemailer, Thanks.

  • @davemason2856
    @davemason2856 4 роки тому +1

    Any resources on how one would integrate this into an existing static site?

  • @1995jozef
    @1995jozef 6 років тому

    Thanks Brad for these awesome videos. Cheers!

  • @markdurksen6589
    @markdurksen6589 5 років тому +2

    This was mad helpful. Thank you 1000x.

  • @gillesmosson
    @gillesmosson 6 років тому

    Super video, thank you Brad, it works perfectly, even with firebase

  • @DoheSeGyaan
    @DoheSeGyaan 5 років тому

    Can we use EJS in place of handlebars?

    • @rapundercover3292
      @rapundercover3292 5 років тому

      yes but "{{msg}}" won't work and you have to put this code in your app.js: "app.set("view engine", "ejs");"

  • @Joshua-ef7cl
    @Joshua-ef7cl 4 роки тому

    Thanks man! Really awesome video, it really helped me out, very grateful :)

  • @karimnatakarim5972
    @karimnatakarim5972 5 років тому +1

    Hey Travy there are lot of us who made react.js front-end web sites and left whit blank contact form part. Can you make a next part on how to connect this great technique with the existing react site and how to set it up - depoloy on the server ?
    Or just how to separete your existing files (index, css ) and connect them to work on same root - folder ? Please man ...please :) i will do favor for you...

  • @Robi-Fera
    @Robi-Fera 7 років тому +1

    Thank you man, really helpful tutorial! I managed to make it work with Gmail.

  • @albertoarielarce2982
    @albertoarielarce2982 4 роки тому +1

    Thank a lot, this video was very helpfully to me!!!

  • @paulcryan9288
    @paulcryan9288 4 роки тому

    Well done, great video and presentation. THX Paul

  • @VishFoolery
    @VishFoolery 3 роки тому

    Had the same nodemon issue. Just use sudo to get by if you are working on your local machine

  • @j03Biz
    @j03Biz 4 роки тому +1

    This is pretty cool and it works. However, the test email and password are essential exposed on the server. Is there a more secure way of handling this?

  • @ozzyfromspace
    @ozzyfromspace 3 роки тому

    In lieu of installing the body-parser, you could also use the express parser. It's one line of code:
    app.use(express.urlencoded( {extended: true} ));

  • @modern_sapien
    @modern_sapien 3 роки тому

    Almost FIVE YEARS LATER AND STILL RELEVANT

  • @Mattyx35
    @Mattyx35 7 років тому

    Thank you! I've learnt a lot of interesting things on your channel!

    • @bondstar927
      @bondstar927 4 роки тому

      consider becoming a patreon

  • @tebogotau
    @tebogotau 6 років тому

    Brad! Awesome... All the videos. Thanks

  • @maniac1441
    @maniac1441 2 роки тому +1

    Thank You . it is really usefull and easy tutorial,

  • @th3Phenomenon
    @th3Phenomenon 7 років тому

    Loving your Bootstrap 4 course s far. I would love to see you do something on Progressive web apps

  • @alessandromuratore8431
    @alessandromuratore8431 3 роки тому

    It's help me a lot! Thank you for sharing

  • @acjintrodesigns9275
    @acjintrodesigns9275 3 роки тому

    after this video it submits but doesnt send the email. but when I comment out the firebase script then it sends the email but shows the "layouts/main.handlebars'" error and obviously doesn't send to the firebase. how do I get both to work?

  • @btcblade3334
    @btcblade3334 5 років тому

    awesome piece of content, def saved me alot of time. Thanks brah!

  • @jacobtherobertson
    @jacobtherobertson 5 років тому

    Just found your channel. It's great!

  • @nicholasdittmer4494
    @nicholasdittmer4494 2 роки тому

    Excellent tutorial as always. It was that tls thing that had me stumped. Do we need to remove that for production?

  • @gabrielhauschildt6697
    @gabrielhauschildt6697 4 роки тому +1

    If you have trouble installing nodemon globally, try: npx nodemon server.js
    This install the package at run-time and will behave as a global package.

  • @1kebastuz
    @1kebastuz 7 років тому

    Thx for this.
    Also would be great to see something game-like with nodejs+socketio. Simple gameapp, like scissors-paper-rock or something (there is one actually on youtube), but with your style of explaining stuff.

  • @vd6947
    @vd6947 6 років тому +1

    Hi is there a way to pass the authentication automatically and to fletch automatic the senders email ?

  • @mateuszzdyb3547
    @mateuszzdyb3547 5 років тому +1

    thank you sir! your tutorial helped me a lot!

  • @mhwang119
    @mhwang119 3 роки тому

    You all know we tried to send an email with his credentials lol. JK. Brad your stuff is awesome. Thanks.

  • @JustCallMePCra
    @JustCallMePCra 7 років тому

    THANK YOU!!! I HAVENT WATCHED IT YET BUT, I ALREADY LOVE IT!

  • @JS-pg7eq
    @JS-pg7eq 2 роки тому

    Thank you, Brad! Considering the frequency by which Node, NPM etc are updated, could you please indicate which versions you are using? Thank you so much!

  • @gindevgin9298
    @gindevgin9298 4 роки тому

    Wow! Great as always!

  • @vNoComments
    @vNoComments 5 років тому

    You rock man!! Very helpful stuff!

  • @vickylance
    @vickylance 7 років тому

    @14:25 How did it look into the view folder for contact.handlebars you did not tell anywhere in the code to look into views folder

    • @faboneproject918
      @faboneproject918 7 років тому

      dont forget that you had to set your view engine to handlebars

    • @vickylance
      @vickylance 7 років тому

      No It is working, but i was wondering does it take the views folder in the root by default?

    • @abdulkadirosman2816
      @abdulkadirosman2816 7 років тому

      I know EJS templating language takes views folder by default, handlebars probably does too. Views folder for views and public folder for css.

  • @TheHooy
    @TheHooy 5 років тому

    Can't send emails through a proxy :/ In Windows 10 i have set the environment variables for the proxy and i can download npm packages, but nodemailer throws a 403 error (Forbidden). If i leave the 'proxy' option out while creating the transport, it just times out after ~20 secs.

  • @alphonso6458
    @alphonso6458 4 роки тому

    trying to use this with angular do i still need to use the handlebars module, being that a template would already be setup in angular.

  • @mislavcrnkovic3467
    @mislavcrnkovic3467 4 роки тому

    This is awesome! Great job!