Hello, Email Geeks!

Welcome to AhaSend, we're glad to have you here!

To celebrate our launch, we've partnered up with CMail to offer Lifetime Deal plans to CMail users for a limited time. Learn more

Transactional Email APIs and SMTP relays

Blazing fast emails at unbeatable prices.

Clear, fair and transparent pricing.
Top-notch support and onboarding.
No lock-in, No Hidden fees, No BS.

website banner
By Developers, For Developers

Transactional Email API

object
object
object
                                                curl https://api.ahasend.com/v1/email/send
    -X POST
    -H 'Content-Type: application/json'
    -H 'X-Api-Key: YOUR-API-KEY'
    -d '{
        "from": {
            "name": "My awesome startup"
            "email": "[email protected]"
        },
        "recipients": [
            {
                "name": "Someone",
                "email": "[email protected]"
            }
        ],
        "content": {
            "subject": "Sample email",
            "text_body": "Plain text body",
            "html_body": "<p>This is the <b>HTML</b> body</p>",
        }
    }'
                                            

Install dependencies

$ npm i axios
const axios = require('axios');

const email = {
    from: {
        name: 'My awesome startup',
        email: '[email protected]',
    },
    recipients: [
        {
            name: 'Someone',
            email: '[email protected]',
        }
    ],
    content: {
        subject: 'Sample email',
        text_body: 'Plain text body',
        html_body: '<p>This is the <b>HTML</b> body</p>',
    },
};
axios.post('https://api.ahasend.com/v1/email/send', email, {
  headers: {
    'Content-Type': 'application/json',
    'X-Api-Key': 'YOUR-API-KEY',
  }
}).then((response) => {
    console.log(response);
});

Install dependencies

$ go get gopkg.in/gomail.v2
                                                email := gomail.NewMessage()
email.SetAddressHeader("From", "[email protected]", "My awesome startup")
email.SetAddressHeader("To", "[email protected]", "Someone")
email.SetHeader("Subject", "Sample email")
email.SetBody("text/plain", "Plain text body")
email.SetBody("text/html", "<p>This is the <b>HTML</b> body</p>")

// Port can be 25, 2525, or 587
d := gomail.NewDialer("send.ahasend.com", 587, "YOUR_SMTP_USERNAME", "YOUR_SMTP_PASSWORD")
if err := d.DialAndSend(msg); err != nil {
    log.Fatal(err)
}
                                            

Install dependencies

$ gem install httparty
                                                require 'httparty'

class AhaSend
  include HTTParty

  base_uri 'https://send.ahasend.com'
  headers 'X-Api-Key' => ENV['AHASEND_API_KEY'], 'Content-Type' => 'application/json'

  def initialize(from_name:, from_email:)
    @from_name = from_name
    @from_email = from_email
  end

  def send_email(subject:, html_body:, recipient_email:, recipient_name: nil, text_body: nil)
    email = {
      from: { name: @from_name, email: @from_email },
      recipients: [{ name: recipient_name, email: recipient_email }],
      content: { subject:, html_body:, text_body: },
    }

    self.class.post('/v1/email/send', body: email)
  end
end

ahasend = AhaSend.new(from_name: 'My awesome startup', from_email: '[email protected]')
ahasend.send_email(
  subject: 'Sample email',
  html_body: '<p>This is the <b>HTML</b> body</p>',
  text_body: 'Plain text body',
  recipient_name: 'Someone',
  recipient_email: '[email protected]'
)
                                            

Install dependencies

$ python -m pip install requests
                                                import requests
email = {
    'from': {
        'name': 'My awesome startup',
        'email': '[email protected]',
    },
    'recipients': [
        {
            'name': 'Someone',
            'email': '[email protected]',
        }
    ],
    'content': {
        'subject': 'Sample email',
        'text_body': 'Plain text body',
        'html_body': '<p>This is the <b>HTML</b> body</p>',
    },
}
headers = {
    'X-Api-Key': 'YOUR_API_KEY',
    'Content-Type': 'application/json'
}
r = requests.post('https://api.ahasend.com/v1/email/send', json=email, headers=headers)
print(r.json())
                                        
$email = [
    'from' => [
        'name' => 'My awesome startup',
        'email' => '[email protected]',
    ],
    'recipients' => [
        [
            name: 'Someone',
            email: '[email protected]',
        ]
    ],
    'content' => [
        'subject' => 'Sample email',
        'text_body' => 'Plain text body',
        'html_body' => '<p>This is the <b>HTML</b> body</p>',
    ],
];
$options = array(
  'http' => array(
    'header'  => "Content-type: application/json\r\nX-Api-Key: YOUR-API-KEY",
    'method'  => 'POST',
    'content' => json_encode($email)
  )
);
$context  = stream_context_create($options);
$resp = file_get_contents('https://api.ahasend.com/v1/email/send', FALSE, $context);
var_export($resp, TRUE);

Need help with another language? Contact us and we'll write it for you!

cover-fd
cover-bg
Independent

Real Email Provider

  • We're not another service provider on top of exisitng email APIs.

  • We own all our infrastructure and run our own SMTP servers.

  • This gives us the flexibility to choose our own customers and set our own pricing

cover-bg
cover-fd
Fairly priced

Simple and fair pricing

  • No tiered packages, you pay exactly for what you send.

  • Pay for emails sent, not for number of recipients.

cover-bg
cover-fd
Great support

Get help from real engineers

  • No automated replies, no clueless support agents. Always talk to a real engineer

  • Email us at [email protected] and get a reply from one of our engineers within a few hours

About us

Built by experienced founders and developers

We've been building and launching successful products - Taskulu.com, SciPubPlus.com, and LobalCard.com to name a few - for over a decade and AhaSend came out of our own frustration with the pricing and support of the existing ESPs. We're firm blievers in the "Eat your own dogfood" mantra and AhaSend has been in use for sending millions of transactional emails (OTPs, order confirmations, app notifications, etc) per month to hundreds of thousands of people for our other products.

AhaSend Dashboard Screenshot
icon

3,000,000+

Emails sent per month

icon

1.54 Seconds

Average delivery time to Gmail

icon

500,000+

Inboxes reached per month

Easy integration

Integrate with any language, framework or software

Start sending emails in minutes with our easy to use REST APIs and SMTP servers. We have ready to use code samples and SDKs for most languages and frameworks.

Don't see what you need? Contact us and we'll write it for you with our engineering-led support.

Python
Ruby
PHP
Ruby on Rails
Golang
Drupal
Nodejs
Lua
C++
Java
Dart
Commandline
WordPress
Kotlin
JavaScript
JavaScript
Kotlin
WordPress
Commandline
Dart
Java
C++
Lua
Nodejs
Drupal
Golang
Ruby on Rails
PHP
Ruby
Python
Kotlin
WordPress
Commandline
Dart
Java
C++
Lua
Nodejs
Drupal
JavaScript
Golang
Ruby on Rails
PHP
Ruby
Python
Pricing and plans

One Simple Plan

Send up to 1,000 emails per month free, then $5 per month for up to 10,000 emails, then $0.50 per 1,000 additional emails sent

Pay As You Go

Pay only for the emails you send, no more, no less.

Get Started for free No credit card required
object
object

Features

All features are available to customer regardless of sending volume

Fairly priced

Compare our pricing

How much does sending emails cost?

AhaSend

Others*

SendGrid:

Mailgun:

Mailjet:

Brevo:

* Based on publicly available pricing information for plans with features similar to AhaSend.
Limited-time offer

Lifetime plans

For a limited-time, you can buy lifetime plans for sending emails with AhaSend.
Regular pricing after this offer ends will be $0.50 per 1,000 emails sent.
There are a limited number of seats available for each plan.

object
object
object
$79 One-time payment

10k emails / month

Make a $79 one-time payment and send 10,000 emails per month forever.

$149 One-time payment

25k emails / month

Make a $149 one-time payment and send 25,000 emails per month forever.

$479 One-time payment

100k emails / month

Make a $479 one-time payment and send 100,000 emails per month forever.

Prices do not include VAT

How does it work?

Once you make a purchase, we will get in touch with you as soon as possible to get you onboarded

  • 1
    step 1

    Purchase a plan

    Purchase one of the plans above, don't worry. Send 1,000 emails per month on us, no credit card is required.

  • 2
    step 2

    Set up your account

    After successful payment, you'll be redirected to a page where you can setup your account and sending domains.

  • 3
    step 3

    Start sending!

    That's it, you can start sending right away! We'll help you with the technical side of the integration as well.

FAQS

Frequently Asked Questions

Get quick answers to common queries about AhaSend. Have more questions? We'd be happy to hear from you!

Transactional emails are any emails that are sent as a result of a recent action by the user on your website or application. These include

  • OTP emails
  • Password resets
  • Welcome emails
  • Order confirmations emails
  • Abandoned cart emails
  • Notification emails
among others.

No, we do not allow marketing emails to be sent through AhaSend. Marketing (bulk) emails are slow to send and even slower to deliver to mail boxes. Sending marketing emails requires delivering a large number of emails in a very short period of time to email providers such as Gmail, Yahoo and Outlook, and quite understandably, they don't like it and usually delay the delivery. Mixing bulk marketing emails with transactional emails increases the delivery time of transactional emails as well.

Sending marketing emails through our systems is explicitly agains our terms of use.

Yes! You can ask for a full refund until you send 1000 emails and 1 month after of your purchase. No questions asked. Just send an email to [email protected] and we'll take care of it.

We use Stripe for accepting payments. Through Stripe we accept various payment methods, including credit cards, debit cards, Apple Pay, Google Pay and Klarna. You can choose the most convenient option during the checkout process.

Once you purchase a plan, you'll be directed to a page where you can set up your account and sending domains. You can start sending emails as soon as the DNS configuration for you domain is verified. This is usually done in minutes, but can take a few hours depending on the Name Servers of your domain.

Absolutely! If you can't find existing code samples or SDKs for sending emails through AhaSend with your technology stack on our website, just get in touch and we'll write the integration for you!