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 benefits include open and click as well as analytics integration. Extreme delivery bolstered by DomainKeys/DKIM signing, SPF, sender ID and optional dedicated IP addresses.

A Few of Our Happy Customers

Body Mind Sessions is one of JangoMail's customers. Spensit is one of JangoSMTP's customers. La Sierra University is one of JangoSMTP's customers. Latitude Software is one of JangoSMTP's customers. Nationwide Envelope is one of JangoSMTP's customers.
Open your free JangoSMTP account - no credit card required.
Start Now

Tracking

Track every open, click, unsubscribe, bounce, and complaint by recipient on a granular level. Track web activity with our Google Analytics integration.

Application Programming Interface (API)

Retrieve and set account information, send emails, and access reporting with our API. Use email events to trigger a call to your web service and easily sync transactional email data with your own database.

Deliverability

Authentication for all email providers using DKIM, SPF, and Custom Tracking for better sending reputation and branding. IP addresses monitored by delivery specialists.

Customer Support

Support provided by trained email experts located in the United States. 24/7 emergency support for paying customers.

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