Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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).
- Host: GitHub
- URL: https://github.com/parking-master/simple-mailer
- Owner: Parking-Master
- License: mit
- Created: 2021-12-08T19:57:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-21T21:56:33.000Z (about 2 years ago)
- Last Synced: 2024-11-22T18:43:36.681Z (3 months ago)
- Topics: email, javascript, mail, node, node-js, nodejs, web, webapi, webapp
- Language: JavaScript
- Homepage: https://simplemailer.loca.lt
- Size: 474 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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._