I want to send an email activation code for users who sign up on the website. If possible, I would like to use an Angular service so I can use it later in other projects.
Asked
Active
Viewed 1,975 times
-5
-
2It is not good to send email using angular since the email configuration will be exposed – Sreemat Aug 01 '17 at 07:08
2 Answers
4
... I think you CAN NOT send an email only with Angular4 .. .but you need also a Back End implementation .. like node.js or Asp.NET or what you prefer...
example :
http://tphangout.com/angular-2-sending-mails-from-your-app/

federico scamuzzi
- 3,708
- 1
- 17
- 24
1
I suppose you need to send from client side(not using a server side like node.js, web api, wcf etc..). You can not send directly but using external javascript libraries, apis you might able to send. Take a look here, there are pretty much discussions about sending email with javascript.

sa_
- 2,854
- 3
- 22
- 29