Start Sending Now via API or SMTP Relay

Developers love our clean code and how easy it is to integrate. Easily send email via API or SMTP Relay.

cURL

curl -X “POST” “http://api.jangomail.com/api.asmx/SendTransactionalEmail”
-H “Content-Type: application/x-www-form-urlencoded”
–data-urlencode “ToEmailAddress=”
–data-urlencode “Username=”
–data-urlencode “MessagePlain=”
–data-urlencode “Options=”
–data-urlencode “FromEmail=”
–data-urlencode “FromName=”
–data-urlencode “Password=”
–data-urlencode “MessageHTML=”
–data-urlencode “Subject=”

Python

# Install the Python Requests library:
# `pip install requests`

import requests

def send_request():
# SendTransactionalEmail
# POST http://api.jangomail.com/api.asmx/SendTransactionalEmail

try:
response = requests.post(
url=”http://api.jangomail.com/api.asmx/SendTransactionalEmail”,
headers={
“Content-Type”: “application/x-www-form-urlencoded”,
},
data={
“ToEmailAddress”: “”,
“Username”: “”,
“MessagePlain”: “”,
“Options”: “”,
“FromEmail”: “”,
“FromName”: “”,
“Password”: “”,
“MessageHTML”: “”,
“Subject”: “”,
},
)
print(‘Response HTTP Status Code: {status_code}’.format(
status_code=response.status_code))
print(‘Response HTTP Response Body: {content}’.format(
content=response.content))
except requests.exceptions.RequestException:
print(‘HTTP Request failed’)

Java

import java.io.IOException;
import org.apache.http.client.fluent.*;
import org.apache.http.entity.ContentType;

public class SendRequest
{
public static void main(String[] args) {
sendRequest();
}

private static void sendRequest() {

// SendTransactionalEmail (POST )

try {

// Create request
Content content = Request.Post(“http://api.jangomail.com/api.asmx/SendTransactionalEmail”)

// Add headers
.addHeader(“Content-Type”, “application/x-www-form-urlencoded”)

// Add body
.bodyForm(Form.form()
.add(“ToEmailAddress”, “”)
.add(“Username”, “”)
.add(“MessagePlain”, “”)
.add(“Options”, “”)
.add(“FromEmail”, “”)
.add(“FromName”, “”)
.add(“Password”, “”)
.add(“MessageHTML”, “”)
.add(“Subject”, “”)
.build())

// Fetch request and return content
.execute().returnContent();

// Print content
System.out.println(content);
}
catch (IOException e) { System.out.println(e); }
}
}

Swift

func sendSendtransactionalemailRequest() {
/**
SendTransactionalEmail
POST http://api.jangomail.com/api.asmx/SendTransactionalEmail
*/

// Add Headers
let headers = [
“Content-Type”:”application/x-www-form-urlencoded”,
]

// Form URL-Encoded Body
let body = [
“ToEmailAddress”:””,
“Username”:””,
“MessagePlain”:””,
“Options”:””,
“FromEmail”:””,
“FromName”:””,
“Password”:””,
“MessageHTML”:””,
“Subject”:””,
]

// Fetch Request
Alamofire.request(.POST, “http://api.jangomail.com/api.asmx/SendTransactionalEmail”, headers: headers, parameters: body, encoding: .URL)
.validate(statusCode: 200..<300)
.responseJSON { response in
if (response.result.error == nil) {
debugPrint(“HTTP Response Body: \(response.data)”)
}
else {
debugPrint(“HTTP Request failed: \(response.result.error)”)
}
}
}

Ruby

require ‘net/http’

def send_request
# SendTransactionalEmail (POST )

begin
uri = URI(‘http://api.jangomail.com/api.asmx/SendTransactionalEmail’)

# Create client
http = Net::HTTP.new(uri.host, uri.port)

data = {
“ToEmailAddress” => “”,
“Username” => “”,
“MessagePlain” => “”,
“Options” => “”,
“FromEmail” => “”,
“FromName” => “”,
“Password” => “”,
“MessageHTML” => “”,
“Subject” => “”,
}
body = URI.encode_www_form(data)

# Create Request
req = Net::HTTP::Post.new(uri)
# Add headers
req.add_field “Content-Type”, “application/x-www-form-urlencoded”
# Set header and body
req.body = body

# Fetch Request
res = http.request(req)
puts “Response HTTP Status Code: #{res.code}”
puts “Response HTTP Response Body: #{res.body}”
rescue StandardError => e
puts “HTTP Request failed (#{e.message})”
end
end

Who

Marketers who want a quick, streamlined experience. Developers who send transactional email through their own applications.

What

The first transactional email service to add tracking and authentication. Connect to the SMTP relay or use the transactional email API to send messages.

Why

Tracking features include open and click tracking, and Google Analytics integration. Inbox delivery improved by using DomainKeys/DKIM, SPF, tracking domain, and optional dedicated IP addresses.

A Few of Our Happy Customers

Toyo Tires Body Mind Sessions is one of JangoMail's customers. Great Basin Institute Nationwide Envelope is one of JangoSMTP's customers. ShipServ

Open your free JangoSMTP account - no credit card required.
Start Now

Tracking

Track opens and clicks for your messages, plus see website activity using our Google Analytics integration. View SMTP logs for every message. See bounces, unsubscribes, complaints and blocks as well.

Application Programming Interface (API)

Send emails, access reports, and manage account information with our API. Use email events to trigger a call to your web service and easily sync transactional email data with your own database using our event API/webhooks feature.

Deliverability

Optimize delivery to the inbox using DKIM, SPF, and a custom tracking domain for better sending reputation and branding. IP addresses monitored by delivery specialists. Send using dedicated IPs.

Customer Support

Support provided by trained email experts located in the United States. 24/7 emergency support for paying customers. Call us or submit a ticket.

Are you a developer who wants to send transactional email?
Start Here