How do you send emails using Javascript? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

How do you send emails using Javascript?

Iā€™m trying to work on a project that requires me to send an email using my email address to an email address that someone enters in a website. I only require the js code. Thanks!

31st Jul 2021, 11:39 AM
Ming Yang
Ming Yang - avatar
3 Respostas
+ 6
Ming Yang Use smtp.js library to send mail using JS. https://smtpjs.com/v3/smtp.js
31st Jul 2021, 11:51 AM
AĶ¢J
AĶ¢J - avatar
+ 2
You can't send emails directly with JS.
31st Jul 2021, 11:44 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 2
Aleksei Radchenkov Iā€™ve read online that you can use a server called smtp but it doesnā€™t work for me
31st Jul 2021, 11:46 AM
Ming Yang
Ming Yang - avatar