0

I am very new to AngularJS. I want to send emails. Is the server side code necessary to send emails if I am using AngularJS? How to send emails using AngularJS? I am a .NET guy. I am using Visual Studio 2012. Please guide me.

Thanks

2
  • 1
    Client-side, you can use a mailto: URL to open the user's email client. The user will have to actually send the mail, though. Will this do? Commented Apr 20, 2014 at 18:28
  • 2
    If you're trying to automatically send mails from within the browser without any user interaction, you can stop here. It would be a severe security bug if that was allowed. You either need to use a server or let the user send that mail as @flup explained. Commented Apr 20, 2014 at 19:01

1 Answer 1

1

As already commented, automatically sending an email is server side code. But if you still want to send email using javascript alone try node.js and nodemailer.

https://github.com/andris9/Nodemailer

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.