Documentation
Installation | JS
To get started with ekiliRelay, use npm to install and include it in your project.
- Install the mailer using npm:
- Import the mailer into your project:
- Get you api key API KEY
npm i ekilirelay
import EkiliRelay from 'ekilirelay';
Usage | JS/TS
After including the mailer, you can start using ekiliRelay to send emails. Here's a quick example:
//Simple js implementation
const sendBtn = document.getElementById("send"); //some button
import EkiliRelay from 'ekilirelay'; //importing EkiliRelay
// Initialize the mailer
const mailer = new EkiliRelay('your-api-key'); //your-api-key goes here
sendBtn.addEventListener("click", () => {
// Send an email
mailer.sendEmail(
'receiver-email@example.com',
'Test Subject',
'This is a test message.',
'From: senderName <sender-email@example.com>')
.then(response => {
if (response.status === 'success') {
console.log('Email sent successfully.');
} else {
console.log('Failed to send email: ' + response.message);
console.log(response);
}
})
.catch(error => {
console.log('Error:', error);
});
});
This simple example demonstrates how to initialize the ekiliRelay mailer and send an email using JavaScript or TypeScript.
FAQ | JS/TS
How do I get started with ekiliRelay?
Simply download the mailer, include it in your project, and follow the usage instructions.
Is ekiliRelay really free?
Yes, ekiliRelay is completely free to use.
Can I customize the email template?
Yes, you can customize the email body as per your requirements using HTML and CSS.
Contact | JS
If you have any questions or need further assistance, please reach out to us:
- Email: support@ekilie.com
- Visit: ekilie.com
- Creator: Tachera W
- GitHub: github.com/tacheraSasi
ekiliRelay
📧 Send emails effortlessly with our free email API. Reliable, fast, and secure.
🚀 Simplify email communication for your app with ekiliRelay!