DEV Community 👩‍💻👨‍💻

Discussion on: Sending Client-side Emails using EmailJs in ReactJs App

Collapse
 
fish1 profile image
Jacob Enders

Interesting, but why would the frontend ever need to send an Email?

Collapse
 
felipey2010 profile image
Philip Mahama Akpanyi

For a simple contact form without the need for a backend.

Collapse
 
adam_cyclones profile image
Adam Crockett

But this is still a backend just not one you own. Me personally, I'd rather all communications I own go through my own stuff

Thread Thread
 
xr0master profile image
Sergey Khomushin • Edited on

With the growth of professionalism, there is an understanding that you need to do what really requires your attention.

At the same time, the development of your solution will cost many times more, and the quality will be clearly inferior to the work of a specialized team.

Therefore, there are many services and SaaS as a business model.

Thread Thread
 
adarshgoyal profile image
Adarsh Goyal Author

💯

Thread Thread
 
adam_cyclones profile image
Adam Crockett

I work for a security focused company, I'm 11yrs into development, my "own stuff" would be a server and a built in to language mailer function. I don't agree with this level of trust, end you can't say I'm unprofessional or inexperienced because I have seen what happens when companies give to much trust.

Collapse
 
xr0master profile image
Sergey Khomushin

While this is not limited to frontend use, there can actually be hundreds of use cases. Let's say someone drew something on the canvas and you want to share it? Or some kind of web game, which at the end can send you a report to the email? Or have you made an order and want to send a notification about it?

Today, a static web frontend is very relevant, static content servers are very cheap, and the speed is virtually unlimited.