@extends('layouts.master2') @section('title', 'Library') @section('page_styles') @endsection @section('page_scripts') @endsection @section('content')
| Contact | Country | List | Added on | Bounced | Unsubscribed | Confirmed | Actions | |
|---|---|---|---|---|---|---|---|---|
|
S
Shahbaz Mughal
shahbazhh01@gmail.com
|
Pakistan | Mumara Leads | Dec 23, 2019 06:23:20 PM | Hard Bounced | Unsubscribed | Confirmed | ||
|
S
Shahbaz Mughal
shahbaz.mughal@hostingshouse.com
|
Pakistan | Mumara Leads | Dec 23, 2019 06:23:19 PM | Soft Bounced | No | No |
<h1> through <h6>, are available.
Connect your application or website to your Mumara ONE route using an SMTP connection. Find out the SMTP details below.
| Notification Title | Icon | Notification Title | Icon |
|---|---|---|---|
| Import List | Export List | ||
| Segment Created | Broadcast Scheduling | ||
| Broadcast Complete | Segment Exported | ||
| Campaign Start | Campaign Paused | ||
| Daily Limit Reached | Monthly Limit Reached | ||
| SMTP Failed | Domain Verification | ||
| Trigger |
Send Emails from your Mumara ONE route from anywhere using the API. Find out the API integration instructions and sample code below.
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"personalizations":[ \
{ \
"to":[ \
{ \
"email":"john@domain.com" \
"name":"John" \
} \
], \
"send_at":"1409348513" \
"subject":"Good Morning" \
"content":[ \
{ \
"type":"text/plain" \
"value":"Heya" \
}, \
{ \
"type":"text/html" \
"value":"this is Email body
" \
} \
],\
"from":{\
"email":"from@domain.com" \
"name":"Richard White" \
},\
"reply_to":{ \
"email":"reply@domain.com" \
"name":"Richard white" \
},\
"api_token":"LVNNVFAtMTYyMjAzNjUyNA-60ae502c5a96e1622036524" \
}' 'https://api.mumara.com/sendMail'
url = "https://api.mumara.com/sendMail"
payload = "{
"personalizations": [
{
"to": [
{
"email": "john@domain.com",
"name": "john"
}
],
"send_at": 1409348513,
"subject": "Hello, World!"
}
],
"content": [
{
"type": "text/plain",
"value": "Heya!"
},
{
"type": "text/html",
"value": "Hello
"
}
],
"from": {
"email": "info@domain.com",
"name": "John"
},
"reply_to": {
"email": "richard@domain.com",
"name": "Richard"
},
"api_token": "LVNNVFAtMTYyMjAzNjUyNA-60ae502c5a96e1622036524"
}"
headers = {
'Accept': "application/json",
'Content-Type': "application/json",
}
response = requests.request("POST", url, data=payload, headers=headers)
print(response.text)
URL url = new URL("https://api.mumara.com/sendMail");
HttpURLConnection http = (HttpURLConnection)url.openConnection();
http.setRequestMethod("POST");
http.setDoOutput(true);
http.setRequestProperty("Accept", "application/json");
http.setRequestProperty("Content-Type", "application/json");
String data = "{\n \"personalizations\": [\n {\n \"to\": [\n {\n \"email\": \"john@domain.com\",\n \"name\": \"john\"\n }\n ],\n \"send_at\": 1409348513,\n \"subject\": \"Hello, World!\"\n }\n ],\n \"content\": [\n {\n \"type\": \"text/plain\",\n \"value\": \"Heya!\"\n },\n {\n \"type\": \"text/html\",\n \"value\": \"Hello
\"\n }\n ],\n \"from\": {\n \"email\": \"info@domain.com\",\n \"name\": \"John\"\n },\n \"reply_to\": {\n \"email\": \"richard@domain.com\",\n \"name\": \"Richard\"\n },\n \"api_token\": \"LVNNVFAtMTYyMjAzNjUyNA-60ae502c5a96e1622036524\"\n}";
byte[] out = data.getBytes(StandardCharsets.UTF_8);
OutputStream stream = http.getOutputStream();
stream.write(out);
System.out.println(http.getResponseCode() + " " + http.getResponseMessage());
http.disconnect();
$api_token = "LVNNVFAtMTYyMjAzNjUyNA-60ae502c5a96e1622036524";
$request = new HttpRequest();
$request->setUrl('https://api.mumara.com/sendMail');
$request->setMethod(HTTP_METH_POST);
$request->setHeaders(array(
'Content-Type' => 'application/json',
'Accept' => 'application/json'
));
$request->setBody('{
"personalizations": [
{
"to": [
{
"email": "john@domain.com",
"name": "john"
}
],
"send_at": 1409348513,
"subject": "Hello, World!"
}
],
"content": [
{
"type": "text/plain",
"value": "Heya!"
},
{
"type": "text/html",
"value": "Hello
"
}
],
"from": {
"email": "info@domain.com",
"name": "John"
},
"reply_to": {
"email": "richard@domain.com",
"name": "Richard"
},
"api_token": "$api_token"
}');
try {
$response = $request->send();
echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}
var url = "https://api.mumara.com/sendMail";
var httpRequest = (HttpWebRequest)WebRequest.Create(url);
httpRequest.Method = "POST";
httpRequest.Accept = "application/json";
httpRequest.ContentType = "application/json";
var data = @"{
""personalizations"": [
{
""to"": [
{
""email"": ""john@domain.com"",
""name"": ""john""
}
],
""send_at"": 1409348513,
""subject"": ""Hello, World!""
}
],
""content"": [
{
""type"": ""text/plain"",
""value"": ""Heya!""
},
{
""type"": ""text/html"",
""value"": ""Hello
""
}
],
""from"": {
""email"": ""info@domain.com"",
""name"": ""John""
},
""reply_to"": {
""email"": ""richard@domain.com"",
""name"": ""Richard""
},
""api_token"": ""LVNNVFAtMTYyMjAzNjUyNA-60ae502c5a96e1622036524""
}";
using (var streamWriter = new StreamWriter(httpRequest.GetRequestStream()))
{
streamWriter.Write(data);
}
var httpResponse = (HttpWebResponse)httpRequest.GetResponse();
using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))
{
var result = streamReader.ReadToEnd();
}
Console.WriteLine(httpResponse.StatusCode);
const url = new URL("https://api.mumara.com/sendMail");
let params = {
"personalizations": [
{
"to": [
{
"email": "john@domain.com",
"name": "john"
}
],
"send_at": 1409348513,
"subject": "Hello, World!"
}
],
"content": [
{
"type": "text/plain",
"value": "Heya!"
},
{
"type": "text/html",
"value": "Hello
"
}
],
"from": {
"email": "info@domain.com",
"name": "John"
},
"reply_to": {
"email": "richard@domain.com",
"name": "Richard"
},
"api_token": "LVNNVFAtMTYyMjAzNjUyNA-60ae502c5a96e1622036524"
};
let headers = {
"Content-Type": "application/json",
}
fetch(url, {
method: "POST",
headers: headers,
body: params
})
.then(response => response.json())
.then(json => console.log(json));