Send emails using Node.js, Nodemailer and Angular

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 127

  • @noeintriago8096
    @noeintriago8096 2 года назад

    Hi! You saved me, I was trying to implement this on my project and this video was my solution! Thank you very much, keep going!

  • @xa_lvy5329
    @xa_lvy5329 3 года назад +1

    I did implement successfully just a quick question, we used gmail, i want to use my domain, what host or how can I do it,

  • @harshilparmar9076
    @harshilparmar9076 5 лет назад +1

    lots of new angular content on your channel.. great!!

  • @younesstizi3482
    @younesstizi3482 4 года назад +3

    it would be much better if you explain step-by-step while you are typing the code .. that way we can understand and practice with you at the same time . But it was rich content ! thank you

    • @FunOfHeuristic
      @FunOfHeuristic  4 года назад +1

      Ya , at that time I did like that, now a days I am explaining by writing the code.
      Thanks

  • @marioalbertotorresavila2619
    @marioalbertotorresavila2619 2 года назад

    Hi,
    I get this error has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
    i Deploys in netlify in localhost thats ok

  • @mohiburrahman5639
    @mohiburrahman5639 Год назад

    hello could you help me when i received a mail with verification token for regeration from node js to angular please. because i received mail with payload verification token but i cant understand how to use this verification token from front side. thanks!!

  • @adibzikri7203
    @adibzikri7203 3 года назад

    hi, just wanted to ask. Whenever I tried to submit the email it did not send to the email that I wanted to send to. Do you know what could be the problem?

  • @renukavasireddy5027
    @renukavasireddy5027 3 года назад

    I added OAuth2 but i'm facing these issue node:8150) UnhandledPromiseRejectionWarning: Error: Mail command failed: 530-5.7.0 Authentication Required.

  • @rosalyna_24
    @rosalyna_24 3 года назад

    hiii this.http.sendnotif("localhost:8080/sendnotif/", user i got an error here saying Argument of type 'string' is not assignable to parameter of type 'FormControl'. what should i do

    • @FunOfHeuristic
      @FunOfHeuristic  3 года назад

      Please check how you are initialising your formControl or formGroup

  • @renukavasireddy5027
    @renukavasireddy5027 3 года назад

    (node:50439) UnhandledPromiseRejectionWarning: Error: Missing credentials for "PLAIN" i was facing these issue my frontend is running in 3036 port and my backend(nodejs) is running in differt port 3.37 is that is an issue? could u please help me how to solve that above error

  • @User-67714
    @User-67714 5 лет назад +2

    Hi, I watched your video. Thank you firstly for this training. But can you take a video in a more descriptive way? So fast, I didn't understand where some features came from. Thanks in advance.

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      From the next video I will I try to do it, thanks for the feedback it's really helpful.

  • @rosalyna_24
    @rosalyna_24 3 года назад

    i got the following errors what can i do please help :
    Property 'loading' does not exist on type 'SendNotifComponent'.
    Property 'buttionText' does not exist on type 'SendNotifComponent'.
    Property 'nameFormControl' does not exist on type 'SendNotifComponent'.......

    • @FunOfHeuristic
      @FunOfHeuristic  3 года назад

      Please check you cloned the code properly and ren npm install and it should successfully installed all the packages.

    • @rosalyna_24
      @rosalyna_24 3 года назад

      @@FunOfHeuristic thank you so much i'll do that

  • @burzachemilliones9149
    @burzachemilliones9149 4 года назад

    yo thank you so much i think your video is the only one that explains it correctly thank you keep making more videos😎

  • @cristianjuarez1086
    @cristianjuarez1086 3 года назад

    Indians are awesome with the technology, hands up for them

  • @syedhussnainpirzada2533
    @syedhussnainpirzada2533 3 года назад

    Can we use backend code in simple html form code

  • @shilpasaware3722
    @shilpasaware3722 4 года назад +1

    Hey, this really helps, want to implement send email integration to print api response and send to all stakeholders via automation. Without local hosting it won’t work?

    • @FunOfHeuristic
      @FunOfHeuristic  4 года назад

      Your server need to be hosted somewhere.

  • @aishwaryadharani4947
    @aishwaryadharani4947 3 года назад

    Hey! Thanks for the Tutorial. However, while I use this code, the api doesn't work on port 3000. I see no response from that port.

  • @nourhm3447
    @nourhm3447 4 года назад

    it doesn't work for me
    where I should put node folder and angular folder ?are they dependent ?

    • @FunOfHeuristic
      @FunOfHeuristic  4 года назад

      Hi, no the angular and node folder is not dependent. But from angular you should point to the correct port in which the node is running.

  • @shubhamarora547
    @shubhamarora547 5 лет назад +1

    Thank u so much bro for making this tutorial very helpful👍👍

  • @xxtinct_seldom_species
    @xxtinct_seldom_species 5 лет назад

    Can i use both node and angular in same folder. Like in my source i have created folder for node and other is angular component. Please answer.

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      You can put angular inside node (although it's not a good practice for websites). But you should not put node inside angular, i.e node folder inside src.
      Node and angular should be independent, you should make http call to access the data from node.

  • @JeffMaigemu
    @JeffMaigemu 5 лет назад +1

    This is a life saver!! Thank you so much. My question: how do we handle invalid emails? By this, I mean emails that are in correct format, but are not real emails pointing to any email address?

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад +1

      Thanks for the complement
      About your question with my current knowledge from code(node.js) we can't validate the email.
      An email service provider can only do the same.
      i will update here if i get any solution.

    • @tomwest1504
      @tomwest1504 4 года назад

      for email validation you can use www.validity.com/products/briteverify/ and what about this video it is full shit

  • @yourwish7485
    @yourwish7485 5 лет назад

    Hi, my front end does not show up when I have the Http constructors, but once I comment the constructor lines out, my front end shows again, do you know why?

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      To use HttpClient in your component you have to import HttpClientModule in the ngModule, check that, if not please reply with the error message you are getting in browser.

    • @yourwish7485
      @yourwish7485 5 лет назад

      @@FunOfHeuristic Thanks, my front end now shows, but when I click my button, no email is sent now.

    • @yourwish7485
      @yourwish7485 5 лет назад

      Nevrmind, I figured it out, Thanks so much!

  • @devAngel1420
    @devAngel1420 4 года назад

    very thank you sir but i have error from nodejs server error: missing credentials for "PLAIN" wat can i do

  • @joelsanzouango4392
    @joelsanzouango4392 3 года назад

    Thank you Bro! Please bro how can i test your code with postman?

  • @theskysthelimit.
    @theskysthelimit. 4 года назад

    Thank you! and i want to know exact previous tutorial for this, so that i can understand more.

  • @angulardesign7412
    @angulardesign7412 4 года назад

    how to reload page automatically and navigate to home page after user confirm mail or click link that was send to his gmail

    • @FunOfHeuristic
      @FunOfHeuristic  4 года назад

      If the user will click on the link then request will going to come to your application and according to your casses you can navigate the user to some page or you can reload the page.

    • @angulardesign7412
      @angulardesign7412 4 года назад

      @@FunOfHeuristicafter user registration a page will shown an confirmation email send to your emailid how to reload that page. After click on confirmation link wo toh new window me redirect hoga page show karega no problem

  • @joginipallimanish7163
    @joginipallimanish7163 5 лет назад

    angular git hub code link is not working,,...please check ASAP

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      Thanks for the comment, there was a typo. its fixed now :)

  • @x16gdp
    @x16gdp 5 лет назад

    After setting up as you per your tutorial, can we do normal angular build and upload on some hosting?

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      Ya you can make a prod build and can upload, but check the endpoint url where you are hosted the node application before build.

  • @darasot_short_video
    @darasot_short_video 4 года назад

    Could create search product function with video in angular 8 ? Thanks you

    • @FunOfHeuristic
      @FunOfHeuristic  4 года назад

      Ya i will do video(s) for product search with autocomplete options, Thanks for the suggestion.

  • @elhouarizohier3824
    @elhouarizohier3824 Год назад

    thanks maann, this was really helpful

  • @satyamnagariya5956
    @satyamnagariya5956 3 года назад

    kindly make a video on Micro Front End. Thanks in advance

  • @zolarboy
    @zolarboy 5 лет назад

    I have my application to Angular in the cPanel, in which way I can add the Node Backend?

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      Connection between Angular and Node can be established through rest service, so give the endpoint address of your node back end server in the service call from Angular.

  • @lipiprajapati8322
    @lipiprajapati8322 4 года назад

    I am getting error "Error: self signed certificate in certificate chain". How can I solve this??

    • @FunOfHeuristic
      @FunOfHeuristic  4 года назад +1

      Try this. process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";

    • @lipiprajapati8322
      @lipiprajapati8322 4 года назад

      @@FunOfHeuristic Thank you for showing path. I used 'process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;'. It's working.

  • @innocenceesstt1
    @innocenceesstt1 5 лет назад

    Hello thank you for the tutorial but it is a bit confusing.
    the http.service.ts file you created it as a service or what? u didn't show this detail .
    thank you in advance

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      Ya http.service.ts is a Service which is I am using for http calls

    • @innocenceesstt1
      @innocenceesstt1 5 лет назад

      @@FunOfHeuristic thank you

  • @MaicoTriaca132
    @MaicoTriaca132 3 года назад

    Hey, dev! I want to make a PWA (using Ionic 5 and Angular 8) and host it on Firebase, with a Spark plan.
    If I host my entire platform on Firebase, how does this nodejs server work? I need to host it in another firebase project?

    • @FunOfHeuristic
      @FunOfHeuristic  3 года назад

      Angular hosting is a static hosting, but you need a node server for the js hosting

  • @rodrogo3029
    @rodrogo3029 4 года назад

    Hello... thanks for the video! could you provide an explanation on how to deploy this to prod? Or do you have a link to other video to make that happen?

    • @FunOfHeuristic
      @FunOfHeuristic  4 года назад +1

      You can deploy it to Heroku, as a node project, I have a video on deploy Angular universal on Heroku, please wath that one you will get how to do that as angular universal is also a node project.

  • @halouadev7566
    @halouadev7566 4 года назад

    PLease try it with the Angular CLI please it will helps me a lot for my project

  • @xa_lvy5329
    @xa_lvy5329 4 года назад

    Hi how do i do this in firebase functions

    • @FunOfHeuristic
      @FunOfHeuristic  4 года назад

      You can host the backend as a nodeJs project and ui can be hosted as normal web app

  • @motivateme2402
    @motivateme2402 4 года назад

    hello sir i watch this tutorial and im really impress , sir can u make validation if the email is already signup

  • @kushaluk2381
    @kushaluk2381 5 лет назад

    Hi I tried .. its getting some error ..Could you send me the code link ?

  • @nourhm3447
    @nourhm3447 4 года назад

    Could you please create a video or send me the steps to create nodeJs

  • @renukavasireddy5027
    @renukavasireddy5027 3 года назад

    (node:50439) UnhandledPromiseRejectionWarning: Error: Missing credentials for "PLAIN"

    • @FunOfHeuristic
      @FunOfHeuristic  3 года назад

      its a nodemailer issue search Set up 3LO authentication and try to use that

    • @renukavasireddy5027
      @renukavasireddy5027 3 года назад

      @@FunOfHeuristic hi thank you for your reply i didnt get u what is 3LO authentication how to solve my issue

    • @FunOfHeuristic
      @FunOfHeuristic  3 года назад

      @@renukavasireddy5027 chek this link nodemailer.com/smtp/oauth2/ and go to number 3

  • @ivanagilic2454
    @ivanagilic2454 5 лет назад

    Do you have somewhere a whole code, not only of app.js?

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад +1

      I have given two GitHub links in the video description, one is for the front end and another one is for backend.
      Please check the video description

    • @ivanagilic2454
      @ivanagilic2454 5 лет назад

      @@FunOfHeuristic And at the end, both frontend & backend part of your code is merged in one directory? Am I wrong?

    • @ivanagilic2454
      @ivanagilic2454 5 лет назад

      We have 2 package.json files

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      It can be or can not, it basically not dependent on each other, and about the JSON that may be package-lock.json u can just ignore that one for now. I will delete thar one from the repository

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      Run the front end by ng serve and backend by node app.js(you should be in the same directory where app.js is)

  • @rosalyna_24
    @rosalyna_24 3 года назад

    i hope that u would write the code and explain in the same time that would be better

    • @FunOfHeuristic
      @FunOfHeuristic  3 года назад

      Yes, in recent videos I am doing the same

    • @rosalyna_24
      @rosalyna_24 3 года назад

      @@FunOfHeuristic thank u so much for answering, can u make a video about signing the pdf after uploading it maybe using the nodesign pdf module or something else

  • @sebg100
    @sebg100 5 лет назад

    For angular 8 is different ?

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад +1

      It will work in angular 8 also

    • @sebg100
      @sebg100 5 лет назад

      @@FunOfHeuristic ok thank

  • @kevinMant
    @kevinMant 4 года назад

    Thank You so much !! Great Explanation

  • @snps-worldofentertainment
    @snps-worldofentertainment Год назад

    Where is the code

  • @joginipallimanish7163
    @joginipallimanish7163 5 лет назад

    i have to send mails from zoho ,,so how could i send ,,please respond

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      Just replace the host to smto.joho.com( this is the server address) and change the port if you are using SSL

  • @ayushgandhi577
    @ayushgandhi577 5 лет назад

    It's really helpful bro thanks lot🤘🤘🤘

  • @culturechaos1753
    @culturechaos1753 5 лет назад +4

    Very confusing brother. It would have been more insightful if you would have went through each step by step. Great effort though, really just couldn't follow you the way I wanted to though

  • @kevingarry1451
    @kevingarry1451 4 года назад +1

    I'ld like to ask you to create it from scratch, that will highly help

  • @bbabhu
    @bbabhu 3 года назад

    This guy from West Bengal , 😂😂😂 his English remember me Mamta 😞

  • @Dr.Wizard47
    @Dr.Wizard47 3 года назад

    didnt understand anything make full angular video ....its very diffuclt to understand

  • @rrrealpe2932
    @rrrealpe2932 5 лет назад

    Hi fun, great video. I have an error: (node:6392) UnhandledPromiseRejectionWarning: Error: self signed certificate in certificate chain. Anybody has idea about how to solve this? Thanks

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      Check less secure apps for the mail you are using to send mail from. It should be turned on else Google will not allow to access the credentials programmatically.

    • @danielaregawi
      @danielaregawi 5 лет назад

      disable
      avast security.

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      So it's working now..?

  • @neilricardosantiago7554
    @neilricardosantiago7554 4 года назад

    do you have discord? i have something to ask

    • @FunOfHeuristic
      @FunOfHeuristic  4 года назад

      No I don't have discord, but I have a slack channel you can join : bit.ly/2RXPcEK

  • @aaravrawat5619
    @aaravrawat5619 5 лет назад

    plz make video for token based authentication in A-7 asap

  • @DrCharmsTV
    @DrCharmsTV 5 лет назад

    hard to understand sometimes, but thanks for sharing! It was really helpful.
    My advice is to work on the pronunciation like "user" instead of "udjer". Makes it easier to follow :P
    (No Critique, Just some friendly advice) ;) Blessing.

  • @joginipallimanish7163
    @joginipallimanish7163 5 лет назад

    thanks for the video and the code .,.,keep going

  • @harikotha7
    @harikotha7 5 лет назад

    Thanks bro it's working 👍
    I tried using Sendgrid API, but it isn't working! do you know why?

  • @techsivasham
    @techsivasham 5 лет назад

    thank you clearly understood

  • @gerscorpion2578
    @gerscorpion2578 5 лет назад

    Very nice video but I think its rather distracting to see you in the corner. Keep up the good work
    Edit.: Thanks for the star. :)
    I think it is widly used because of it's simplicity and think you can get a lot of views by concentrating on explaining it's capabilities.

  • @codewithsingh7710
    @codewithsingh7710 5 лет назад

    very nice bro

  • @laxmanrathod1785
    @laxmanrathod1785 3 года назад

    thanks

  • @jacek0720
    @jacek0720 4 года назад

    Thank you.

  • @gavelloso
    @gavelloso 5 лет назад

    thank you

  • @jeesamyu436
    @jeesamyu436 2 года назад

    what is ujer ? 😂. some hindi youtubers pronounce ujer , ujing , is as a ij , bootystrap etc.., etc..,😂

  • @jackjones7388
    @jackjones7388 5 лет назад

    Hello Fun of Heuristic. I built your app, but just get this in the console: localhost:3000/sendmail net::ERR_CONNECTION_REFUSED Why is it refused?

    • @FunOfHeuristic
      @FunOfHeuristic  5 лет назад

      Are you trying to hit the URL from the application or in the browser?
      This error usually come if there is some proxy issue or some cache issue.
      Please use post man or any rest client and make a call to the url if that succed then please clear your browser cache once and try to call from the application.

  • @rajeshmalakar6217
    @rajeshmalakar6217 5 лет назад

    Great 😁