100% KVKK CompliantISO 27001Turkey Data Center
0850 305 88 66  ·  info@mailguard.com.tr
Get a Quote
HomeFeaturesSolutionsDocsToolsMail Test
Home / Solutions / Amazon SES-compatible API

Amazon SES-Compatible Email API

Using Amazon SES? Don't rewrite your code. Just change the endpoint and key to MailGuard's — the AWS SigV4 signature is verified on our side, and your existing boto3/SDK keeps working as-is. Your data is in Turkey, your invoice is in TL, and your support is local.

Change one line, keep your code the same

MailGuard is fully compatible with the Amazon SES v2 SendEmail call and verifies the AWS SigV4 signature. That means you don't rewrite your existing SES integration: in the SDK client you only need to change the endpoint_url and the key.

# Your Amazon SES code — only 2 lines change
import boto3

ses = boto3.client("sesv2",
    endpoint_url="https://email.mailguard.com.tr",   # ← the only change
    aws_access_key_id="AKIA…",        # from the MailGuard panel
    aws_secret_access_key="…",
    region_name="eu-central-1")

# Your sending code DOES NOT CHANGE:
ses.send_email(
    FromEmailAddress="hello@yourcompany.com",
    Destination={"ToAddresses": ["customer@example.com"]},
    Content={"Simple": {"Subject": {"Data": "Hello"},
                        "Body": {"Text": {"Data": "Test message"}}}})

The same applies to the other AWS SDKs (JavaScript, PHP, .NET, Go…) — any SDK that signs with SigV4 works. With Content.Raw (base64 MIME) you can also send attachments and custom headers. For detailed examples, see the docs.

Why switch from Amazon SES to MailGuard?

SES is technically powerful, but your data is kept abroad, your invoice is in foreign currency, and your support is remote. MailGuard offers the same developer experience — the same SDK, the same signature — with data in Turkey, KVKK compliance and local support. On top of that, inbound filtering and SMTP relay, which SES does not cover, are on the same platform.

  • Generate an AWS-style key (AKIA… + secret) in the panel.
  • Add your sending domain and publish the SPF + DKIM records to your DNS (the panel provides them ready to use).
  • Change the endpoint_url + key in your SDK client — leave your sending code untouched.
  • If you like, send via SMTP too: relay.mailguard.com.tr:587 SASL.

MailGuard vs Amazon SES

MailGuardAmazon SES
Code changeOnly endpoint + key—
SDK compatibilitySame boto3/SDK (SigV4)boto3/SDK
Data locationTurkey data centerUS / EU regions
KVKK complianceFull complianceRequires cross-border transfer
BillingTL + e-invoiceUSD
SupportLocal, TurkishRemote / English
DKIM signingAutomatic (we sign)You set it up
Inbound spam/virus filteringIncluded (MX routing)None (outbound only)
SMTP relayIncluded (same account)Included
Suppression + webhookIncluded (panel + API)Included

Frequently asked questions

Do I need to change my code to migrate from Amazon SES?
No. In your existing AWS SDK (boto3, aws-sdk-js, PHP, .NET…) you only set endpoint_url to https://email.mailguard.com.tr and use the key that MailGuard provides. The SigV4 signature is verified on our side and your sending code works as-is.
Which SES calls do you support?
SES v2 SendEmail (/v2/email/outbound-emails). Both Simple (subject/body) and Raw (base64 MIME — attachments, custom headers) content are supported.
Why MailGuard instead of Amazon SES?
Data is kept in Turkey, it is KVKK compliant, billing is in TL with e-invoicing, and support is local and in Turkish. We also sign DKIM and deliver from clean IP pools; inbound filtering and SMTP relay are on the same platform too.
Can I send via SMTP too?
Yes. Just like SES SMTP, you can send via relay.mailguard.com.tr:587 (STARTTLS) / 465 (SSL) with SASL. The API and SMTP work on the same account.
Where do I get the API key?
An AWS-style key pair (AKIA… + secret) is generated in the customer panel. You add your sending domain, publish the DKIM/SPF records and start sending.

Customer reviews

★★★★★

We clearly saw the improvement in delivery rates, especially on bulk email campaigns.

Eren Y.
★★★★★

A great solution I would recommend to anyone dealing with mail delivery problems.

Ömer K.
★★★★★

The integration was far easier than we expected. The whole system runs flawlessly.

Serkan D.
★★★★★

A great solution that met our expectations on both security and delivery.

Koray S.

Let's move you from Amazon SES to MailGuard

Let's talk through your existing SES integration, your volume and your requirements, and map out a migration plan tailored to you. The code doesn't change; the endpoint and key do.

Get a Quote

What Is an Amazon SES-Compatible Email API?

An SES-compatible API is an email sending service that mirrors Amazon SES's sending interface (SendEmail v2 + AWS SigV4 signature) exactly. Its purpose is to let teams already using SES move to a different provider without rewriting their application code, by changing only the endpoint and the credential key.

MailGuard provides this compatibility by verifying the SigV4 requests signed by existing AWS SDKs and connecting them to its own delivery infrastructure (DKIM signing, reputation-managed IP pools, suppression and quota). This way, SES-specific code, libraries and workflows are preserved exactly; only the delivery and data layer changes.

This approach is especially suitable for SaaS, e-commerce and enterprise teams that have a data-residency (KVKK) obligation in Turkey and want to avoid foreign-currency billing and remote support. Your transactional emails (sign-up confirmations, password resets, order notifications) are sent with the same code from a local, compliant infrastructure.