How to use the smtp.js API to send emails with JavaScript || Send Mail Using SMTP

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ต.ค. 2022
  • Hello Guys, In this video we are going to see SMTPJS API for sending mails. || How to do mail through JavaScript.?
    Please like, share and subscribe and support me.
    Software Required:
    SMTP JS website : smtpjs.com/
    The code is available here: github.com/Ash-is-Coding/smtp...
    Previous Tutorial:
    Quill Editor : • Quill Editor Tutorial ...
    Hosting MySQL 000webhost: • How to host PHPMyAdmin...

ความคิดเห็น • 49

  • @K38.
    @K38. ปีที่แล้ว +2

    Thank you! It worked perfectly.

  • @ankeshagarwal9911
    @ankeshagarwal9911 ปีที่แล้ว +2

    thanks for the video u explained it very brilliantly including the steps for opening the account

  • @danielcarter2493
    @danielcarter2493 ปีที่แล้ว +1

    Thank you Ash worked simple and easy

  • @user-np3th9dj2l
    @user-np3th9dj2l ปีที่แล้ว

    thank you for the advice, but for a problem is occuring.. Conversion failed when converting from a character string to uniqueidentifier.
    wht to do?

  • @haileyydesu4527
    @haileyydesu4527 ปีที่แล้ว

    May I know why does it hit the preventDefault() function mentioning that >>> The specified string is not in the form required for an e-mail address ?

  • @user-ym5qf5qt9l
    @user-ym5qf5qt9l 10 หลายเดือนก่อน

    Can I import the script in a different way like downloading a node_module because it does not work properly on a vue or react?

  • @trinitydomingues7365
    @trinitydomingues7365 6 หลายเดือนก่อน

    ty! u helped me

  • @user-ql5zi2lz6b
    @user-ql5zi2lz6b 7 หลายเดือนก่อน

    THANK YOU ❤

  • @user-nn6wz5bn3o
    @user-nn6wz5bn3o 5 หลายเดือนก่อน

    thank you!

  • @predator8166
    @predator8166 ปีที่แล้ว

    Tks! Great tutorial

    • @ashiscoding
      @ashiscoding  ปีที่แล้ว +1

      Glad you enjoyed it!

  • @vishnusidharth9309
    @vishnusidharth9309 ปีที่แล้ว +1

    Thanks for the video bro. Unfortunately for me, email status is always in 'ready to send' it is not sending. How to fix this?

  • @John-qt6qk
    @John-qt6qk ปีที่แล้ว

    Thanks, it was helpful m8

  • @tusharprasad8217
    @tusharprasad8217 ปีที่แล้ว

    Thanks dude!!

  • @user-rd4oo1jg5g
    @user-rd4oo1jg5g ปีที่แล้ว

    Very good video, is there something that is not clear to me when I send an email using an API, it is not done through an SMTP server? How would it be sent in that case?

  • @exclusivestudios
    @exclusivestudios ปีที่แล้ว

    thanks dude!!

    • @ashiscoding
      @ashiscoding  ปีที่แล้ว

      Happy to help! Please Subscribe to my Channel!

  • @danitori3452
    @danitori3452 ปีที่แล้ว +1

    I am a bit curious why you put a 0 index on the form contact dom element. There is only one, no?

    • @ashiscoding
      @ashiscoding  ปีที่แล้ว +1

      Even if its one element, getElementByClassName returns array, so I used 0.

    • @danitori3452
      @danitori3452 ปีที่แล้ว

      @@ashiscoding ah ok. In my code, I did getElementById and it’s working fine for me without the index, probably because ids are unique and so they only return one dom element. Thanks for your response!

  • @yougeshravichandran5788
    @yougeshravichandran5788 7 หลายเดือนก่อน +1

    bro ebody part is not working. please help me

  • @DarkXenei
    @DarkXenei ปีที่แล้ว

    7:56 what did you enter in this box because I don't know what to enter your name or your email. Unless I can type anything in there.

  • @solidsnowy7397
    @solidsnowy7397 9 หลายเดือนก่อน

    hey mine stays on ready to send. Any fix for this?

  • @chimdindundukuba
    @chimdindundukuba 2 หลายเดือนก่อน

    How do I get the domain verification

  • @kavin-nivak
    @kavin-nivak ปีที่แล้ว

    Mail sent for spam what can i do

  • @KeyboardLove
    @KeyboardLove ปีที่แล้ว

    why i cant do it in jupyter sir

  • @rejoyanhridoy1847
    @rejoyanhridoy1847 ปีที่แล้ว +1

    why my mail getting into spam folder

    • @GintasLtu
      @GintasLtu ปีที่แล้ว +1

      then you will use domain it moves into main directory

  • @ernewgame
    @ernewgame ปีที่แล้ว

    i liked the video, but why this is not working on me?

    • @ashiscoding
      @ashiscoding  ปีที่แล้ว

      Are you getting error?

    • @ashiscoding
      @ashiscoding  ปีที่แล้ว

      Check mail in spam

    • @ernewgame
      @ernewgame ปีที่แล้ว

      @@ashiscoding Thank you Bro, i fix this. I have one question, if i put the upload file for image, can i receive image in my email?

    • @ashiscoding
      @ashiscoding  ปีที่แล้ว

      Yes, you can add an image just put tag.
      If you found it helpful please subscribe to my channel and share this video!
      Thanks

    • @ernewgame
      @ernewgame ปีที่แล้ว

      @@ashiscoding I have subscribe your channel, i have upload short video th-cam.com/video/aV89AXCVJtk/w-d-xo.html i want receive email with photo, but i have problem, can you find where is my problem? Thank you

  • @julianremedios
    @julianremedios ปีที่แล้ว +1

    please share the javascript code
    thank you

    • @ashiscoding
      @ashiscoding  ปีที่แล้ว

      Please check the description. Also please subscribe to my channel. Thank you😀

    • @julianremedios
      @julianremedios ปีที่แล้ว +1

      Thank you❤

  • @tunlizsxn
    @tunlizsxn ปีที่แล้ว

    Bro my submit button is weird

  • @ElmoPlayss
    @ElmoPlayss ปีที่แล้ว

    i never get an email even though the log says it's sent

    • @ashiscoding
      @ashiscoding  ปีที่แล้ว

      Check in spam

    • @ElmoPlayss
      @ElmoPlayss ปีที่แล้ว

      @@ashiscoding already did that

  • @1gagandeepsingh373
    @1gagandeepsingh373 ปีที่แล้ว

    sir, If we have gender(male/female)option. how we can do this?

    • @ashiscoding
      @ashiscoding  ปีที่แล้ว

      getElementById('id on select tag or radio input tag').value

    • @1gagandeepsingh373
      @1gagandeepsingh373 ปีที่แล้ว

      sir can you explain in detail