How to send emails using Javascript?

Asked

Viewed 1,350 times

2

As all good Content Management System (CMS), is trivial a contact page. In mine is no different. However, I wanted to do it without having to use some other language and/ or technology, except Javascript. My goal is to send e-mails for a particular Inbox (Ex.: [email protected]) with the requirement stated above. Below is a Mockup of form responsible for the content to be sent:

Mockup

1 answer

3


You can use the API of Mandrill for this. It is free for the first twelve thousand monthly shipments.

You would make calls to the API with simple HTTP requests. The easiest way would be using jQuery and the function $.ajax for POST (all calls to the API are in POST).

Browser other questions tagged

You are not signed in. Login or sign up in order to post.