Search code examples
javascriptdatabasewebserver

Possibility to Receive and Send Emails with JavaScript?


enter image description hereI wrote a static website at pages.github.io. Since I did not have a server, I couldn’t realise data interaction, for example as with regard to users’ messages. Therefore, I was wondering if it were possible to use JavaScript to send users’ data through email and receive the other users’ emails, as a way to achieve data interaction.


Solution

  • you can use mailgun APIs that enable you to send, receive and track email effortlessly. https://smtpjs.com/

    Email.send("from@you.com","to@them.com","This is a subject","this is the body","smtp.yourisp.com","username","password");