Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/parking-master/simple-mailer

A simple and secure client-side JavaScript library for mailing to specific email addresses (HTML supported).
https://github.com/parking-master/simple-mailer

email javascript mail node node-js nodejs web webapi webapp

Last synced: 22 days ago
JSON representation

A simple and secure client-side JavaScript library for mailing to specific email addresses (HTML supported).

Awesome Lists containing this project

README

        

# Simple-Mailer
A simple and secure client-side JavaScript library for mailing to specific email addresses (HTML supported).

Imagine if emailing someone with pure JavaScript was this easy:
```javascript
email("[email protected]", "Subject", "Message");
```
_Well now it is._

## Setup
1. Go to simplemailer.loca.lt
2. Click "Signup" at the top right corner or go to simplemailer.loca.lt/signup
3. Signup by entering your Username, Email & Password and check your email inbox
4. Confirm your email and log in to simplemailer.
5. In your home page, take note of your API key or get a new one by clicking the "↺" button
6. Paste the following in your webpage's code:
```html

```
(If you get an error on your page, try signing up again)



  7. You have Simple Mailer in your page!

  8. To use it, follow the documentation below.

### Documentation
Simple-Mailer uses a _simple_ function called `email`.

It has four arguments:
```javascript
email(TO, NAME, SUBJECT, BODY);
```

- **TO** \- The email address to send the email to.
- **NAME** \- The name that appears in the email header (Can be left blank).
- **SUBJECT** \- The subject of the email (Can be left blank).
- **BODY** \- The body of the email \- Can include pure HTML5 (Can be left blank).

_Be careful - there is a delay on sending emails. You can only send up to 1 email per minute._
You can also change the function name through your Home Page in Simple Mailer.

Source code from your file (for simplemailer) is not shareable because Simple Mailer

checks if that user exists before posting an email to our servers.
## License
MIT

_Note: Simple Mailer's site is hosted with Node.js. Credit to Node.js for helping make this project easier._