--- title: "Betrouwbare Transactionele e-mail 100% Europees" description: "Razendsnelle, AVG-conforme transactionele e-mails en campagnes. Ontwikkelaarsvriendelijke API's, SMTP-relay en een campagnebouwer met transparante prijzen." url: https://ahasend.com/nl markdown_url: https://ahasend.com/nl/index.md lang: nl type: page_builder published: 2025-12-24 updated: 2026-11-26 --- # Betrouwbare Transactionele e-mail 100% Europees [✨ AhaSend is ISO 27001 gecertificeerd!](https://ahasend.com/nl/blog/ahasend-iso-27001-certified/) Razendsnelle transactionele e-mails. Ontwikkelaarsvriendelijke API's en SMTP-relay. Eerlijke, transparante prijzen. - [Gratis starten](https://dash.ahasend.com/user/register) - [Documentatie bekijken](https://ahasend.com/docs) ISO 27001 gecertificeerd · AVG-compliant · Gehost in Europa Het gratis abonnement omvat **1000 e-mails per maand** • Geen creditcard vereist ## Gemakkelijk aan de slag Kies je favoriete programmeertaal en begin met het verzenden van e-mails met slechts een paar regels code. ### CLI #### cURL ```bash curl --request POST \ --url https://api.ahasend.com/v2/accounts/{account_id}/messages \ --header 'Authorization: Bearer ' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: UNIQUE-KEY' \ --data '{ "from": { "email": "noreply@example.com", "name": "Example Corp" }, "recipients": [ { "email": "user@example.com", "name": "John Doe" } ], "subject": "Welcome to Example Corp", "html_content": "

Welcome {{first_name}}!

", "text_content": "Welcome {{first_name}}!", "substitutions": { "first_name": "John" } }' ``` #### AhaSend CLI ```bash ahasend messages send \ --account-id YOUR-ACCOUNT-ID \ --api-key 'aha-sk-YOUR-API-KEY' \ --from noreply@awesomeinc.com \ --to recipient@email.com \ --subject "Welcome to AhaSend" \ --html "

Welcome!

Thank you for using AhaSend.

" ``` Hulp nodig bij het starten? [Bekijk onze documentatie](https://ahasend.com/docs) of [neem contact op met support](https://ahasend.com/nl/contact) ### Go #### Go ```go package main import ( "context" "github.com/AhaSend/ahasend-go" "github.com/AhaSend/ahasend-go/api" "github.com/AhaSend/ahasend-go/models/common" "github.com/AhaSend/ahasend-go/models/requests" "github.com/google/uuid" ) func main() { client := api.NewAPIClient( api.WithAPIKey("aha-sk-your-64-character-key"), ) accountID := uuid.New() ctx := context.Background() // SDK automatically handles Idempotency and retries client.MessagesAPI.CreateMessage( ctx, accountID, requests.CreateMessageRequest{ From: common.SenderAddress{ Email: "info@example.com", Name: ahasend.String("Example Corp."), }, Recipients: []common.Recipient{ { Email: "john@example.com", Name: ahasend.String("John Smith"), }, }, Subject: "Hello", TextContent: ahasend.String("Hello world!"), Sandbox: ahasend.Bool(true), }, ) } ``` Hulp nodig bij het starten? [Bekijk onze documentatie](https://ahasend.com/docs) of [neem contact op met support](https://ahasend.com/nl/contact) ### JavaScript Installeer dependencies: ```bash npm install @ahasend/sdk ``` #### Node.js ```javascript import { AhaSendClient } from "@ahasend/sdk"; const ahasend = new AhaSendClient({ apiKey: process.env.AHASEND_API_KEY, accountId: process.env.AHASEND_ACCOUNT_ID, }); const result = await ahasend.messages.send({ from: { email: "hello@yourdomain.com", name: "Your App" }, recipients: [{ email: "user@example.com", name: "Jane" }], subject: "Welcome to Your App", html_content: "

Welcome aboard

", text_content: "Welcome aboard", sandbox: true, // validates and queues without delivering }); const accepted = result.data.filter((entry) => entry.status === "queued" || entry.status === "scheduled" ); const rejected = result.data.length - accepted.length; if (rejected > 0 || accepted.length === 0) { console.error("AhaSend rejected recipients", { count: rejected }); process.exitCode = 1; } else { console.log("Sandbox messages accepted", { count: accepted.length }); } ``` Hulp nodig bij het starten? [Bekijk onze documentatie](https://ahasend.com/docs) of [neem contact op met support](https://ahasend.com/nl/contact) ### Python #### Python ```python import requests url = "https://api.ahasend.com/v2/accounts/{account_id}/messages" payload = { "from": { "email": "noreply@example.com", "name": "Example Corp" }, "recipients": [ { "email": "user@example.com", "name": "John Doe", "substitutions": { "first_name": "John" } } ], "subject": "Welcome to Example Corp", "html_content": "

Welcome {{first_name}}!

", "text_content": "Welcome {{first_name}}!" } headers = { "Authorization": "Bearer ", "Content-Type": "application/json", "Idempotency-Key": "UNIQUE-KEY", } response = requests.post(url, json=payload, headers=headers) print(response.json()) ``` Hulp nodig bij het starten? [Bekijk onze documentatie](https://ahasend.com/docs) of [neem contact op met support](https://ahasend.com/nl/contact) ### PHP #### PHP ```php "https://api.ahasend.com/v2/accounts/{account_id}/messages", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => json_encode([ 'from' => [ 'email' => 'noreply@example.com', 'name' => 'Example Corp' ], 'recipients' => [ [ 'email' => 'user@example.com', 'name' => 'John Doe' ] ], 'subject' => 'Welcome to Example Corp', 'html_content' => '

Welcome {{first_name}}!

', 'text_content' => 'Welcome {{first_name}}!', 'substitutions' => [ 'first_name' => 'John' ], 'sandbox' => false ]), CURLOPT_HTTPHEADER => [ "Authorization: Bearer ", "Content-Type: application/json" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; } ``` #### Symfony ```php from('noreply@example.com') ->to($userEmail) ->subject('Welcome to Example Corp') ->html('

Welcome {{first_name}}!

') ->text('Welcome {{first_name}}!') ->getHeaders() ->addTextHeader('X-AhaSend-Substitutions', json_encode([ 'first_name' => $firstName ])); $this->mailer->send($email); } } // Configuration in .env: // MAILER_DSN=ahasend+api://API_KEY@default ``` Hulp nodig bij het starten? [Bekijk onze documentatie](https://ahasend.com/docs) of [neem contact op met support](https://ahasend.com/nl/contact) ### Ruby #### Ruby ```ruby require 'uri' require 'net/http' require 'json' # Required to convert the hash to a JSON string url = URI("https://api.ahasend.com/v2/accounts/{account_id}/messages") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["Authorization"] = 'Bearer ' request["Content-Type"] = 'application/json' request["Idempotency-Key"] = 'UNIQUE-KEY' # Create a Ruby hash object for the request body payload = { from: { email: "noreply@example.com", name: "Example Corp" }, recipients: [ { email: "user@example.com", name: "John Doe", substitutions: { first_name: "John" } } ], subject: "Welcome to Example Corp", html_content: "

Welcome {{first_name}}!

", text_content: "Welcome {{first_name}}!" } # Encode the Ruby hash into a JSON string for the request body request.body = payload.to_json response = http.request(request) puts response.read_body ``` #### Rails ```ruby # Using Rails ActionMailer with AhaSend configuration # config/environments/production.rb config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: 'send.ahasend.com', port: 587, domain: 'yourdomain.com', user_name: 'your_smtp_username', password: 'your_smtp_password', authentication: 'plain', enable_starttls_auto: true } # app/mailers/application_mailer.rb class ApplicationMailer < ActionMailer::Base default from: 'noreply@example.com' layout 'mailer' end # app/mailers/welcome_mailer.rb class WelcomeMailer < ApplicationMailer def welcome_email(user) @user = user @first_name = user.first_name mail( to: @user.email, subject: 'Welcome to Example Corp', template_name: 'welcome' ) end end # Usage: WelcomeMailer.welcome_email(user).deliver_now ``` Hulp nodig bij het starten? [Bekijk onze documentatie](https://ahasend.com/docs) of [neem contact op met support](https://ahasend.com/nl/contact) ## Bekijk AhaSend in actie Een overzichtelijk en intuïtief dashboard om transactionele e-mails te beheren, met realtime-analyses en het volgen van de bezorgstatus. ![Dashboard](https://cms.ahasend.com/sites/default/files/2026-11/dashboard-light.webp) ## Geaudit. Gecertificeerd. Europees. ISO 27001, GDPR, de Certified Senders Alliance en onze eigen servers in Duitsland en Finland. - ISO 27001 gecertificeerd - GDPR compliant - Gehost in Europa - CSA Certified Sender ## Gemaakt voor Ontwikkelaars Alles wat je nodig hebt om e-mailfunctionaliteit met vertrouwen en snelheid te integreren, te testen en uit te rollen. _Sneller lokaal ontwikkelen_ ### Jouw toolkit in de terminal Ons krachtige [CLI-tool](https://ahasend.com/docs/cli) geeft u het volledige platform binnen handbereik en versnelt uw workflow aanzienlijk. - Test en debug webhooks en e-mailroutes door gebeurtenissen veilig rechtstreeks naar uw localhost te streamen. - Activeer elk API-evenement of verstuur test-e-mails rechtstreeks vanaf de opdrachtregel. - Beheer uw volledige account en configuratie zonder de terminal te verlaten. ```shell $ ahasend auth login --profile local Enter your AhaSend API key: **************************************** Enter your AhaSend Account ID: 8b9dcfcf-94f7-477c-8372-0178618ef975 Successfully authenticated and saved profile 'local' ``` _Test vrijuit, bouw vol vertrouwen_ ### Sandbox-modus Onze productietrouwe sandbox-modi voor [API](https://AhaSend.com/docs/send-api/sandbox) en [SMTP](https://AhaSend.com/docs/smtp/sandbox) bieden een complete, geïsoleerde omgeving voor ontwikkeling en het testen van e-mailstromen. - Ontwikkel je volledige integratie zonder ook maar één echte e-mail te versturen. - Spiegelt de productie-aanvragen voor realistische tests van elke functie. - Simuleer specifieke API-antwoorden, webhooks en zelfs foutscenario's. - Ga van ontwikkeling naar productie zonder enige codewijzigingen. ```shell $ ahasend messages send \ --sandbox \ --from info@ahasend.com \ --to someone@example.com \ --subject 'Welcome to AhaSend' \ --text 'Welcome' \ --output json { "data": [ { "id": "<66cb96e1-d7bd-4d49-b9af-2dae15598e74@ahasend.com>", "object": "message", "recipient": { "email": "someone@example.com", "name": "", "substitutions": {} }, "status": "queued" } ], "object": "list" } ``` _Realtime-ontwikkeling_ ### Webhook- en routes voor binnenkomende berichten Ontwikkel en test [webhooks](https://AhaSend.com/docs/integrations/webhooks) en [routes](https://AhaSend.com/docs/integrations/routing) voor inkomende berichten rechtstreeks op je [localhost](https://AhaSend.com/docs/cli/commands/webhooks#listen-for-events-development). Stuur real-time gebeurtenissen naar je ontwikkelomgeving voor naadloos debuggen en integratietests. - Luister in real-time naar webhook-gebeurtenissen en routering van inkomende berichten. - Test je webhook-handlers zonder ze naar productie uit te rollen. - Debug de berichtbezorging, bounces en routeringslogica lokaal. ```shell $ ahasend webhooks listen \ --forward-to http://localhost:3000/ \ --slim-output 🔌 Webhook connected! Webhook ID: 1fc8ef7a-9d14-445e-8ace-4f333e888cba Secret: aha-whsec-VUp1xuZi9TftBhcuE7GqB...SRF8D0rIWOkJDvTOlwYoJ5 Connected at: 22:14:06 Listening for events... (Press Ctrl+C to stop) ──────────────────────────────────────────────────────────── ✓ Session established: sess_1757535246_9f34457af66cdd0c ──────────────────────────────────────────────────────────── [22:14:16] 📨 message.reception ──────────────────────────────────────────────────────────── [22:14:16] 📨 message.delivered ──────────────────────────────────────────────────────────── [22:14:16] 📨 message.bounced ──────────────────────────────────────────────────────────── ``` _Bouw veerkrachtige systemen_ ### Voorkom dubbele verzoeken Met ingebouwde [idempotentie van verzoeken](https://AhaSend.com/docs/api-reference/idempotency) kun je je applicatie beschermen tegen netwerkfouten en racecondities, waardoor dubbele verzoeken worden voorkomen. - Voer API-verzoeken na netwerkstoringen veilig opnieuw uit zonder risico. - Voorkom dubbele e-mails en andere acties door een unieke idempotentiesleutel te gebruiken. - Bouw vanaf het begin robuustere, fouttolerante integraties. ```shell $ ahasend messages send \ --idempotency-key "user-signup-123" \ --from welcome@ahasend.com \ --to user@example.com \ --subject "Welcome!" \ --text "Welcome to AhaSend!" ✓ Message sent successfully Message ID: <1fc8ef7a-9d14-445e-8ace-4f333e888cba@ahasend.com> # Retry the same request (network failure simulation) $ ahasend messages send \ --idempotency-key "user-signup-123" \ --from welcome@ahasend.com \ --to user@example.com \ --subject "Welcome!" \ --text "Welcome to AhaSend!" ⚠ Duplicate request detected - returning original response Message ID: <1fc8ef7a-9d14-445e-8ace-4f333e888cba@ahasend.com> ``` _Principe van de minste rechten_ ### Altijd de juiste machtigingen Met [Gescopeerde API-sleutels](https://AhaSend.com/docs/api-reference/scopes) heb je fijnmazige controle over wat elk deel van je applicatie mag doen. - Beperk sleutels op basis van actie (bijv. alleen rapporteren, alleen verzenden) en per domein. - Handhaaf het principe van minste privileges voor maximale beveiliging. - Beperk de impact van een gecompromitteerde sleutel. - Beperk elke sleutel tot vertrouwde bron-IP's (IPv4/IPv6 of CIDR) met een [IP Allow List](https://ahasend.com/blog/restrict-your-api-keys-specific-ips-ip-allow-lists), zodat een gelekte sleutel nergens anders bruikbaar is. - Maak veilig sleutels aan voor verschillende tenants of diensten, zoals een rapportagesleutel voor slechts het domein van één klant. ```shell $ ahasend keys create \ --name "reporting-client-ahasend" \ --scopes "reports:read" \ --domain "ahasend.com" ✓ API key created successfully Key: aha-sk-1234567890abcdef... Scopes: reports:read Domain: ahasend.com # Attempting to send email with reports-only key $ ahasend messages send \ --api-key "aha-sk-1234..." \ --from test@acme.com \ --to user@example.com \ --subject "Test" ✗ Error: Insufficient permissions - key lacks 'messages:send' scope ``` _Volledige transparantie_ ### Onbewerkte leveringslogbestanden In tegenstelling tot andere e-mailproviders verbergen we afleveringslogboeken niet achter betaalmuren of abstracties. Krijg volledige toegang tot ruwe afleveringspogingen, bounce-redenen en gedetailleerde foutmeldingen voor elke e-mail. - Krijg toegang tot gedetailleerde afleveringslogboeken voor elk bericht dat via ons platform is verzonden. - Krijg ruwe SMTP-foutmeldingen en bounce-redenen direct van ontvangende servers. - Los afleveringsproblemen op met volledige transparantie en gedetailleerde tijdstempels. - Geen verborgen informatie - zie precies wat er met elke e-mailpoging is gebeurd. ```shell $ ahasend messages list \ --status bounced \ --output json | jq '.data[0].delivery_attempts' [ { "log": "Requested action not taken: mailbox unavailable...", "status": "Bounce", "time": "2025-12-25T13:01:16.913Z" } ] ``` _Debuggen vanuit je editor_ ### MCP Server Koppel Claude Code, Cursor, VS Code of een andere AI-tool aan je account met de [MCP-server](https://ahasend.com/docs/mcp-server) en stel je vragen over je e-mail in je eigen woorden. - Ontdek in gewone taal waarom een e-mail niet aankwam. - Voeg een domein toe en krijg de DNS-records die je moet aanmaken. - Kies per koppeling wat de agent mag, van alleen lezen tot alles. - Geen API-key om te kopiëren: je logt in via je browser. ```shell $ claude mcp add --transport http ahasend https://mcp.ahasend.com/mcp # Run /mcp, pick ahasend and log in through your browser. > Why can't example.com send email yet? One required DNS record is missing. Add this TXT record at your DNS provider: example.com v=spf1 include:spf.ahasend.com ~all DKIM and DMARC are in place. Tell me when it's added and I'll check the DNS again. ``` _Geavanceerde functies_ ## Alles wat je nodig hebt om te schalen Omvattende functies voor e-mailinfrastructuur, ontworpen om mee te groeien. ### SMTP-relay Verstuur e-mails vanuit elke programmeertaal of software via onze SMTP-relayservers. [Meer informatie](https://ahasend.com/nl/free-smtp-server-relay) ### E-mail API SMTP is goed, maar HTTP-API's zijn flexibeler en sneller voor grote verzenders. [Meer informatie](https://ahasend.com/nl/free-email-api) ### Betrokkenheidsmeting Krijg inzicht in je doelgroep met gedetailleerde open- en klikstatistieken voor elke e-mail. [Meer informatie](https://ahasend.com/docs/tracking/open-tracking) ### Subaccounts Richt geïsoleerde subaccounts in onder één hoofdaccount, elk met eigen domeinen, API-keys en verzending, allemaal onder één factuurrelatie. ### Bewaarbeleid voor berichten Pas het retentiebeleid aan voor berichtgegevens en metadata. [Meer informatie](https://ahasend.com/docs/retention) ### E-mailarchivering E-mails automatisch archiveren naar elke S3-compatibele service voor naleving en langdurige opslag. [Meer informatie](https://ahasend.com/docs/retention/s3) ### DNS-whitelabeling Bied uw klanten een naadloze, merkgebonden ervaring met volledig white-label DNS-records. [Meer informatie](https://ahasend.com/docs/scale/dns-whitelabel) ### Gratis dedicated IP-adressen We belonen grote verzenders met gratis IP-adressen om hun reputatie te beschermen en te beheren. [Meer informatie](https://ahasend.com/docs/scale/dedicated-ips) ### IP-pools Groepeer dedicated IP-adressen in pools om de verzendreputatie over verschillende e-mailstromen te beheren. [Meer informatie](https://ahasend.com/docs/scale/ip-pools) ### Bring Your Own IP (BYOIP) Importeer en gebruik uw bestaande IP-adressen op ons platform voor een naadloze migratie. [Meer informatie](https://ahasend.com/docs/scale/byoip) ### DKIM sleutel rotatie DKIM sleutels worden automatisch geroteerd, om zodoende de veiligheid te verbeteren. [Meer informatie](https://ahasend.com/docs/domains#dkim-record-required) ### DKIM-selectors per domein Stel een aangepaste DKIM-selector in voor elk verzenddomein, via het dashboard of de beheer-API. ### Management API Beheer domeinen, webhooks, suppressions, routes, statistieken, accounts en API-sleutels. [Meer informatie](https://ahasend.com/docs/api-reference) ### MCP-server Koppel AI-tools zoals Claude, ChatGPT en Cursor aan je account, met de rechten die jij kiest. [Meer informatie](https://ahasend.com/nl/blog/ahasend-now-has-mcp-server) ### Aangepaste subdomeinen pas je return-path, tracking, uitschrijfpagina's en media subdomeinen aan. _Klantverhalen_ ## Vertrouwd door Ontwikkelaars wereldwijd Sluit je aan bij duizenden ontwikkelaars die hun e-mailinfrastructuur hebben getransformeerd met AhaSend's betrouwbare levering en ondersteuning van wereldklasse. > **Our Best Email Deliverability Ever** > The best part about using AhaSend is the incredibly supportive team. They worked closely with us to resolve long-standing issues and warnings we had with our transactional email at Virgool. Thanks to their help, we're now experiencing the lowest spam rate in our history. The platform itself is also very intuitive, easy to set up, and integrates smoothly with our existing infrastructure. > Ali A., CEO @Virgool (via G2) [Lees de review](https://www.g2.com/products/ahasend/reviews) > **Exceptional Support and Excellent Service!** > AhaSend provides an outstanding level of customer support and a seamless, user-friendly service that simplifies our communication needs. The platform is highly reliable and versatile, allowing us to manage campaigns effortlessly, which has significantly boosted our marketing efforts. I also appreciate the constant updates and improvements they bring to the platform. > Dave F., Founder @Virabase (via G2) [Lees de review](https://www.g2.com/products/ahasend/reviews) > **Mindblowingly good** > I have worked with Brevo, Mailgun, SendQ, Cloudflare email workers, and others ... AhaSend was by far the easiest to set-up. On our latest project we spent hours trying to get the other to work without email being rejected or spam bucketed. With AhaSend we were up and running in 45 minutes, including the implementation of a routing web hook (granted we were just modifying from another provider). Finally, we made a comment about wanting a new feature (passing all email headers to a webhook) ... it was made, documented, and deployed within 45 minutes! Talk about support ... wow! And, it is very cost effective! > Simon B., CTO @Unbounded.chat (via G2) [Lees de review](https://www.g2.com/products/ahasend/reviews) > **Absolutely fantastic service!** > We've been using AhaSend for a while now, and it comes highly recommended. Absolutely fantastic service! > Nima A., Founder @BestOfWeb (via Product Hunt) [Lees de review](https://www.producthunt.com/products/ahasend#Review-743793) > **AhaSend solved our email headaches** > We were having ongoing deliverability issues with our previous email provider. After switching to AhaSend, those problems were completely resolved. Emails now land where they should and performance has been much more reliable. The support team is the best! Quick to respond, proactive, and genuinely helpful. They've gone above and beyond to help us get set up and improve our sending. Very happy with AhaSend so far. Highly recommended. > Rob K., CEO @TeleCalendar (via G2) [Lees de review](https://www.g2.com/products/ahasend/reviews) > **So fast and reliable** > A transactional email service is an essential tool for every startup. I tested the AhaSend service and I'm using it for one of my projects. it's so fast and reliable, providing productive reports. Congratulations to the AhaSend team. 👌 > Atta K., CPO @WishMerge (via Product Hunt) [Lees de review](https://www.producthunt.com/products/ahasend#Review-743815) ## Klaar om te bouwen? Sluit je aan bij duizenden ontwikkelaars die AhaSend vertrouwen voor betrouwbare e-mailbezorging. Integreer binnen enkele minuten, schaal tot miljoenen. - [Gratis starten](https://dash.ahasend.com/user/register) - [Documentatie bekijken](https://ahasend.com/docs) _Geen creditcard vereist • 1000 gratis e-mails per maand_