Powerful email API for Developers
Mailazy email API is specifically built for developers to provide easy integration and fast email delivery. With clean API documentation, it's super easy for you to create an amazing email program to deliver emails at scale.
26 million emails delivered last week.
Trusted by 380+ business and delivering over 98 Million emails/month.
For Developers By Developers
Integrating email service to your product is fun with Mailazy Email API. Our simple email API, easy integration, and documentation help you to send emails and scale quickly, whether you want to send 2 emails or 2 million emails.
curl --location --request POST
'https://api.mailazy.com/v1/mail/send'
--header 'X-Api-Key: <API KEY>'
--header 'X-Api-Secret: <API SECRET>'
--header 'Content-Type: application/json'
--data-raw {
"to": ["[email protected]"],
"from": "Sender <[email protected]>",
"subject": "<Subject>",
"content": [
{
"type": "text/plain",
"value": "<Content>"
}
]
}
package main
import (
import "github.com/mailazy/mailazy-go"
)
func main() {
senderClient :=
mailazy.NewSenderClient("access_key", "access_secret")
to := "[email protected]"
from := "Sender <[email protected]>"
subject := "Sending with mailazy is easy!"
textContent := ""
htmlContent := ""
req := mailazy.NewSendMailRequest(to, from,
subject, textContent, htmlContent)
resp, err := senderClient.Send(req)
}
const MailazyClient = require('mailazy-node');
const client = new MailazyClient({ accessKey:
'', accessSecret: '' });
const fn = async () => {
try {
const resp = await client.send({
to: '[email protected]', // required
from: '[email protected]', // Use domain
you verified, required
subject: '', // required
text: '',
html: '',
});
console.log("resp: " + resp);
} catch (e) {
console.log("error: " + e);
}
}
fn();
import http.client
import mimetypes
conn =
http.client.HTTPSConnection("api.mailazy.com")
payload = '{"to": ["[email protected]"],
"from": "Sender <[email protected]>", "subject":
"<Subject>", "content": [{"type":
"text/plain","value": "<Content>"}]}'
headers = {
'X-Api-Key': '<API KEY>',
'X-Api-Secret': '<API SECRET>',
'Content-Type': 'application/json'
}
conn.request("POST", "/v1/mail/send", payload,
headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
require "uri"
require "net/http"
url = URI("https://api.mailazy.com/v1/mail/send")
https = Net::HTTP.new(url.host, url.port);
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Api-Key"] = ">API KEY>"
request["X-Api-Secret"] = ">API SECRET>"
request["Content-Type"] = "application/json"
request.body = '{"to":
["[email protected]"], "from": "Sender
<[email protected]>", "subject": "<Subject>",
"content": [{"type": "text/plain","value":
"<Content>"}]}'
response = https.request(request)
puts response.read_body
var client = new
RestClient("https://api.mailazy.com/v1/mail/send");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("X-Api-Key", ">API KEY>");
request.AddHeader("X-Api-Secret", ">API
SECRET>");
request.AddHeader("Content-Type",
"application/json");
request.AddParameter("application/json", "{
\"to\": [\"[email protected]\"], \"from\": \"Sender
<[email protected]>\", \"subject\":
\"<Subject>\", \"content\": [{\"type\":
\"text/plain\",\"value\": \"<Content>\"}]}",
ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL =>
"https://api.mailazy.com/v1/mail/send",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION =>
CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS =>'{"to":
["[email protected]"], "from": "Sender
<[email protected]>", "subject": "<Subject>",
"content": [{"type": "text/plain","value":
"<Content>"}]}',
CURLOPT_HTTPHEADER => array(
"X-Api-Key: <API KEY>",
"X-Api-Secret: <API SECRET>",
"Content-Type: application/json"
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
libraries and documentation for all your favorite languages and frameworks.
Powerful and Reliable Infrastructure
Our powerful and reliable infrastructure provides the flexibility of sending a few emails and scale to send a few million easily. Our cloud infrastructures remove email delivery complications of large-scale email sending and make email sending super easy either via SMTP integration or RESTful APIs. Mailazy provides availability of 99.9% uptime because of the reliability of infrastructures and tools.
Try for Free -->Security and Privacy
Your privacy and security are important to us. We are continuously working towards making our system secure and protected. Mailazy secure the messages you send with authentication standards like DMARC, DKIM, and SPF. Mailazy provides rotational DKIM so improve the sender reputation factors. The data centers we use at Mailazy demonstrate compliance with rigorous international standards, such as ISO 27018 for cloud privacy, ISO 27017 for cloud security, SOC 1, SOC 2, and SOC 3, PCI DSS Level 1, and more.
Try for Free -->Focus on delivery not just sending
Both fast email delivery and delivery to inbox are important for an email sending platform. We at Mailazy focus on both to provide an exceptional email experience. Our AI based emailing platform helps to achieve optimal inbox placement. Mailazy infrastrucure includes automated queue handling and throttle threat detection that helps us to optimize for inbox delivery.
Try for Free -->Get help whenever you need
Our API specialists understands technical needs quickly, and help identify the source of any problems. They will support to maintain a stable system for increased deliverability and your long-term email program success. Our knowledgeable customer success team is here for you when you need the most.
Try for Free -->Send Emails with Mailazy
Mailazy is a simple email service with so many benefits. The highly scalable and powerful infrastructure helps you grow. Mailazy's team is well-equipped to help you quickly resolve your queries and issues.
Deliver new generation emailing experiences with super fast inbox delivery
Support whenever you need
Our email delivery experts always watching and analyzing delivery patterns to solve your sending complexities and ensure higher deliverability rate.
Scalability
Send on a customer-trusted platform that help you to send emails and scale quickly, whether you want to send 2 emails or 2 million emails.
Still not sure why you should go for Mailazy ! Know straight from our customers
-
Mailazy is our primary provider for email. We use Mailazy because it concentrates on transactional emails. Our daily sending is around 20k emails from Mailazy. The Mailazy service is easy to implement, offers useful statistics and gives us scaling possibilities for the future.
Govind - Director Products at LoginRadius
It was very easy to set up Mailazy. It took around 10 minutes and we are ready to send out the first email. Their team is very supportive as we informed them about implementation. They are always available to provide any help if you need it.
Puneet - Lead Developer at MojoAuth
-
-
Mailazy is super easy to get up and running. The pricing is great. We would encourage anyone looking for an email service to test drive Mailazy. There are a ton of options in the transactional email sector but Mailazy provides better value than most others.The API is very fast to accept emails, and Sent-to-Inbox time is almost instantaneously, which is very important when sending password reset emails etc.
R2Logics Technology
We were looking for a provider which scales with the demand and provides solid engineering back to our system. We wanted a fresh, dynamic, scalable, and cost-effective solution. Mailazy fulfills all our requirements and their support is amazing. Emails sent with Mailazy taking are taking less than a second to reach the user's inbox. This is very important for user experience. With Mailazy, we are quick and more responsive.
Mr. Ramakant Gupta - Director at RG Infotech