---
title: "Discussion on \"How to send an Email using JS without any backend\" | Hashnode"
description: "Discussion on \"How to send an Email using JS without any backend\". Send email using javascript without any backend"
url: "https://hashnode.com/posts/how-to-send-an-email-using-js-without-any-backend/61417a0dc5f31102b885e1b8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to send an Email using JS without any backend](https://ravitejanunna.hashnode.dev/how-to-send-an-email-using-js-without-any-backend?utm_source=hashnode&utm_medium=feed)

Send email using javascript without any backend

Sep 15, 2021 · 3 min read · ravitejanunna.hashnode.dev  
Read the article

-   [#email](https://hashnode.com/tag/email)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#angular](https://hashnode.com/tag/angular)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Ravi Teja Nunna](https://hashnode.com/@Ravitejanunna)

@Ravitejanunna · India

  
[View profile](https://hashnode.com/@Ravitejanunna)

Web Developer

I am a full stack web developer with expertise in Angular 2 +, React JS, .NET &amp; Sharepoint. But, I love to work on front-end more.

## Responses 2

Comments are turned off for this post.

[Ndianabasi Udonkang](https://hashnode.com/@ndianabasi)

[Sep 15, 2021](https://hashnode.com/posts/how-to-send-an-email-using-js-without-any-backend/61417a0dc5f31102b885e1b8/comment/6141a4464e51f6028be0348a)

The reason why professional developers send emails via the backend isn't that they can't do it on the frontend or they aren't aware of these kinds of hacks. The reason is that you are exposing your SMTP credentials or API keys in your frontend Javascript codes when you do this.

It doesn't take an inexperienced hacker anything to place breakpoints in your codes are obtain these credentials even if the codes are obsfucated.

This is highly unrecommended and should never be done even in a non-critical application like a blog or portfolio page.

[Sesha sai](https://hashnode.com/@sai396)

[Sep 15, 2021](https://hashnode.com/posts/how-to-send-an-email-using-js-without-any-backend/61417a0dc5f31102b885e1b8/comment/614193cec5f31102b885e584)

Thanks it will be helpful for my personal project.
