FREEMAIL API
FreeMail API is a free mailing API that allows you to send emails with a simple API call.
Fast
Freemail api ensures fast delivery of your emails to your clients
Secure
Freemail api ensures the privacy and security of your emails
Efficient
We ensure that your emails land directly to the clients inbox, no more spam or unwanted emails
Try out the android app
FreeMail API is a free mailing API that allows you to send emails with a little bit of customisation. It provides a secure and convenient way to send emails for personal use. The API requires a valid API key for authentication and supports both plain text and HTML content.
'/'
endpoint with the following parameters:
api_key
: Your API key.sender_name
: The name of the sender. (This is the name the
receiver
will see.)
subject
: The subject of the email. (Heading/About)message
: The body of the email. (plain text or html formated with
css)
message_type
: The type of the message content (plain
or
html
).
footer
: The footer text of the email (optional).receiver_email
: The recipient's email address.curl -X POST -H "Content-Type: application/json" -d '{
"api_key": "guest",
"sender_name": "John Doe",
"subject": "Hello",
"message": "This is the body of the email",
"message_type": "plain",
"footer": "Regards, John",
"receiver_email": "[email protected]"
}' https://freemail.maev.lol
import requests
url = "https://freemail.maev.lol"
payload = {
"api_key": "guest",
"sender_name": "John Doe",
"subject": "Hello",
"message": "This is the body of the email",
"message_type": "plain",
"footer": "Regards, John",
"receiver_email": "[email protected]"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
const axios = require('axios');
const url = 'https://freemail.maev.lol';
const payload = {
api_key: 'guest',
sender_name: 'John Doe',
subject: 'Hello',
message: 'This is the body of the email',
message_type: 'plain',
footer: 'Regards, John',
receiver_email: '[email protected]',
};
axios.post(url, payload)
.then(response => console.log(response.data))
.catch(error => console.error(error));
require 'net/http'
require 'json'
url = URI.parse('https://freemail.maev.lol')
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
payload = {
"api_key": "guest",
"sender_name": "John Doe",
"subject": "Hello",
"message": "This is the body of the email",
"message_type": "plain",
"footer": "Regards, John",
"receiver_email": "[email protected]"
}
request = Net::HTTP::Post.new(url.path, { 'Content-Type' => 'application/json' })
request.body = payload.to_json
response = http.request(request)
puts response.body
package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
)
func main() {
url := "https://freemail.maev.lol"
payload := map[string]interface{}{
"api_key": "guest",
"sender_name": "John Doe",
"subject": "Hello",
"message": "This is the body of the email",
"message_type": "plain",
"footer": "Regards, John",
"receiver_email": "[email protected]",
}
payloadBytes, _ := json.Marshal(payload)
req, _ := http.NewRequest("POST", url, bytes.NewBuffer(payloadBytes))
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, _ := client.Do(req)
var result map[string]interface{}
json.NewDecoder(resp.Body).Decode(&result)
fmt.Println(result)
}
<?php
$url = 'https://freemail.maev.lol';
$data = [
'api_key' => 'guest',
'sender_name' => 'John Doe',
'subject' => 'Hello',
'message' => 'This is the body of the email',
'message_type' => 'plain',
'footer' => 'Regards, John',
'receiver_email' => '[email protected]',
];
$options = [
'http' => [
'header' => "Content-type: application/json\r\n",
'method' => 'POST',
'content' => json_encode($data),
],
];
$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
$response = json_decode($result, true);
print_r($response);
?>
Notifications
Clear All