free send mails
This project is focused on making an email server available to static sites. In a simple and low code.
Example:
<form action="http://www.api.freesendmails.com/v1/mails/youmail" method="POST">
<div>
<label>Name:</label>
<input type="text" name="_name">
</div>
<div>
<label>Email address:</label>
<input type="email" name="_email">
</div>
<div>
<label>Message:</label>
<input type="text" name="_message">
</div>
<button type="submit">Submit</button>
</form>
Below you will be redirected to the direct demo of the site and you will also be able to see the two repositories of application codes.
Familiarize yourself with the code and try to follow the same syntax conventions to make it easier for us to accept your pull requests.
- Clone the free-send-mails-api project:
$ git clone https://github.com/grassiricardo/free-send-mails-api.git
$ cd free-send-mails-api
- Install dependencies. We assume that you have already installed
Ruby on Rails
in your system.
$ bundler
- Run the application.
$ rails s
- Run the redis
$ redis-server
- Run the sidekiq
$ bundle exec sidekiq
- Install dependencies and run application
$ docker-compose up --build