Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [0.9.2] - 2026-10-21

### Added
- **Pricing page** at `/pricing`: the plan cards and calculator, plus every plan limit side by side, what's included on every plan, and a pricing FAQ
- **Compare page** at `/compare`: the full feature comparison with Resend, SendGrid, Postmark and Amazon SES, when each is the better fit, and how to switch
- **Receiving page** at `/receiving`: how receiving works, what people build with it (reply by email, invoice parsing, support inboxes, polling the API) and each plan's allowance
- **Free DMARC checker** at `/tools/dmarc`: check any domain's DMARC record, see what's wrong in plain language, and get a record to publish
- **Free SPF and DKIM checkers** at `/tools/spf` and `/tools/dkim`, with a `/tools` page listing all three. SPF counts DNS lookups through every include against the limit of 10; DKIM finds keys under common selectors and checks their strength
- **SMTP relay page** at `/smtp`: connection settings and ready-to-paste setup for Node, Laravel, Django, Rails and WordPress
- **Open source page** at `/open-source`: what the AGPL means for you, how to run ByteSend yourself, and how cloud and self-hosted compare
- **Security page** at `/security`: how your account, email and data are protected, who processes your data, and how to report a vulnerability
- **Receiving in the TypeScript SDK** (`bytesend-js` 0.2.0): `bytesend.inbound.list()`, `get()` and `downloadAttachment()`, with `email.received` webhooks verified and typed through `bytesend.webhooks()`

### Changed
- The website footer is grouped into Product, Features, Free tools, Resources and Company

### Fixed
- The DPA and privacy policy list the same sub-processors: NodeByte Hosting, Amazon Web Services (now including S3 for received email), Stripe and Simple Analytics

---

## [0.9.1] - 2026-10-21

### Added
Expand Down Expand Up @@ -1055,7 +1076,8 @@ Initial public beta release of ByteSend: an all-in-one email infrastructure plat

---

[Unreleased]: https://github.com/ByteSendApp/ByteSend/compare/v0.9.1...HEAD
[Unreleased]: https://github.com/ByteSendApp/ByteSend/compare/v0.9.2...HEAD
[0.9.2]: https://github.com/ByteSendApp/ByteSend/compare/v0.9.1...v0.9.2
[0.9.1]: https://github.com/ByteSendApp/ByteSend/compare/v0.9.0...v0.9.1
[0.9.0]: https://github.com/ByteSendApp/ByteSend/compare/v0.8.0...v0.9.0
[0.8.0]: https://github.com/ByteSendApp/ByteSend/compare/v0.7.0...v0.8.0
Expand Down
42 changes: 40 additions & 2 deletions apps/docs/guides/inbound-email.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -93,20 +93,58 @@ Add a webhook and choose the **email.received** event (under *Inbound events*).
- **Authentication:** `spf`, `dkim` and `dmarc` say whether the sender is who they claim to be. Be careful acting on mail where these are `fail`. Messages with a virus are kept but never forwarded.
- Verify the webhook's signature as described in [Webhooks](/guides/webhooks#signature-verification).

With the TypeScript SDK (`bytesend-js` 0.2 or later), the event is verified and typed for you:

```ts
import { ByteSend } from "bytesend-js";

const webhooks = new ByteSend("bs_...").webhooks(process.env.BYTESEND_WEBHOOK_SECRET!);

export async function POST(request: Request) {
const event = webhooks.constructEvent(await request.text(), { headers: request.headers });

if (event.type === "email.received" && event.data.inReplyToEmailId) {
await comments.create({ thread: event.data.inReplyToEmailId, body: event.data.text });
}

return new Response("ok");
}
```

## Fetching received mail from the API

```bash
<CodeGroup>

```ts Node.js
const { data } = await bytesend.inbound.list({ limit: 20 });
```

```bash cURL
curl https://bytesend.cloud/api/v1/inbound/emails?limit=20 \
-H "Authorization: Bearer bs_..."
```

</CodeGroup>

Filter with `recipient`, `since` (an ISO 8601 time) and `page`. Get one message, including its text, HTML and attachment links:

```bash
<CodeGroup>

```ts Node.js
const { data: email } = await bytesend.inbound.get("inb_4f1c2a9e8d7b6a5c4f3e2d1c");

for (const attachment of email!.attachments) {
const file = await bytesend.inbound.downloadAttachment(attachment);
}
```

```bash cURL
curl https://bytesend.cloud/api/v1/inbound/emails/inb_4f1c2a9e8d7b6a5c4f3e2d1c \
-H "Authorization: Bearer bs_..."
```

</CodeGroup>

API keys limited to one domain only see mail received on that domain.

## Forwarding
Expand Down
190 changes: 190 additions & 0 deletions apps/web/src/app/(marketing)/compare/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
import type { Metadata } from "next";
import Link from "next/link";
import { notFound } from "next/navigation";
import { ArrowRight } from "lucide-react";
import { Button } from "@bytesend/ui/src/button";
import { CallToAction } from "~/components/marketing/CallToAction";
import { ComparisonGrid } from "~/components/marketing/Comparison";
import { Reveal } from "~/components/marketing/Reveal";
import { HairlineGrid, Section, SectionHeader } from "~/components/marketing/Section";
import { highlightCode } from "~/lib/highlighter";
import { isCloud } from "~/utils/common";

export const metadata: Metadata = {
title: "ByteSend vs Resend, SendGrid, Postmark and Amazon SES",
description:
"An honest comparison of ByteSend with Resend, SendGrid, Postmark and sending through Amazon SES directly: features, free tiers, and when each one is the better fit.",
alternates: { canonical: "https://bytesend.cloud/compare" },
};

const PROVIDERS = [
{
name: "Resend",
them: "You want React Email built in from the people who created it, and a polished, developer-first API.",
us: "You want the same developer experience with open source code you can self-host, receiving that's out of beta, DMARC reports, and pricing in your own currency.",
},
{
name: "SendGrid",
them: "You need a long-established provider with enterprise contracts, or you already run on Twilio.",
us: "You want a simpler product with a permanent free tier instead of a trial, clear pay-as-you-go pricing, and code you can read and run yourself.",
},
{
name: "Postmark",
them: "You only send transactional email and want a provider focused on nothing else.",
us: "You send marketing email too, with a visual editor and contact books, and want 5,000 free emails a month to start instead of 100.",
},
{
name: "Amazon SES",
them: "You have engineers to build bounce handling, suppression lists, dashboards and webhooks yourself, and want the lowest possible raw price.",
us: "You want all of that already built on top of SES. ByteSend runs on SES, so you can also self-host it on your own AWS account.",
},
];

const BEFORE = `import { Resend } from "resend";

const resend = new Resend("re_••••••••");

await resend.emails.send({
from: "hello@yourapp.com",
to: "jane@example.com",
subject: "Welcome",
html: "<p>Thanks for signing up!</p>",
});`;

const AFTER = `import { ByteSend } from "bytesend-js";

const bytesend = new ByteSend("bs_••••••••");

await bytesend.emails.send({
from: "hello@yourapp.com",
to: "jane@example.com",
subject: "Welcome",
html: "<p>Thanks for signing up!</p>",
});`;

const STEPS = [
{
title: "Add your domain",
text: "Add the DNS records we show you. If your domain is on Cloudflare, paste an API token and we add them for you.",
},
{
title: "Swap your API key or SMTP settings",
text: "Use our SDK or REST API, or point your existing SMTP setup at smtp.bytesend.cloud on port 587 or 465, with the username from Settings → SMTP and an API key as the password.",
},
{
title: "Test without sending",
text: "A test API key simulates deliveries, bounces and complaints, with real webhooks, so you can check your integration before any mail goes out.",
},
{
title: "Point your webhooks at ByteSend's events",
text: "email.delivered, email.bounced, email.complained and the rest arrive signed, with retries. The SDK verifies and types them for you.",
},
];

export default async function ComparePage() {
if (!isCloud()) notFound();

const themes = { dark: "catppuccin-mocha", light: "catppuccin-latte" } as const;
const [beforeHtml, afterHtml] = await Promise.all([
highlightCode(BEFORE, { lang: "ts", themes }).catch(() => ""),
highlightCode(AFTER, { lang: "ts", themes }).catch(() => ""),
]);

return (
<main className="min-h-screen bg-background text-foreground">
<section className="border-b border-border">
<div className="mx-auto max-w-6xl px-4 py-16 sm:px-6 sm:py-24">
<div className="max-w-2xl">
<p className="mb-3 font-mono text-xs font-medium uppercase tracking-[0.14em] text-primary">Compare</p>
<h1 className="text-4xl font-semibold leading-[1.05] tracking-tight sm:text-5xl">ByteSend and the alternatives</h1>
<p className="mt-5 text-base leading-relaxed text-muted-foreground sm:text-lg">
Every email provider is good at something. Here&apos;s an honest look at where ByteSend fits next to Resend, SendGrid, Postmark and
sending through Amazon SES yourself.
</p>
</div>
</div>
</section>

<Section bordered={false}>
<SectionHeader eyebrow="At a glance" title="Features side by side" align="left" />
<ComparisonGrid />
</Section>

<Section tinted>
<SectionHeader eyebrow="Which one fits" title="When each is the better choice" align="left" />
<div className="space-y-4">
{PROVIDERS.map((provider) => (
<Reveal key={provider.name} className="overflow-hidden rounded-lg border border-border bg-card">
<div className="border-b border-border px-5 py-3">
<h3 className="text-[15px] font-semibold">ByteSend vs {provider.name}</h3>
</div>
<div className="grid grid-cols-1 gap-px bg-border sm:grid-cols-2">
<div className="bg-card p-5">
<p className="text-xs font-medium uppercase tracking-wide text-muted-foreground">Choose {provider.name} if</p>
<p className="mt-2 text-sm leading-relaxed text-muted-foreground">{provider.them}</p>
</div>
<div className="bg-primary/[0.04] p-5">
<p className="text-xs font-medium uppercase tracking-wide text-primary">Choose ByteSend if</p>
<p className="mt-2 text-sm leading-relaxed text-foreground">{provider.us}</p>
</div>
</div>
</Reveal>
))}
</div>
</Section>

<Section>
<SectionHeader
eyebrow="Switching"
title="Moving over takes an afternoon"
description="Most of the work is DNS. The code change is usually a few lines."
align="left"
/>
<HairlineGrid className="grid-cols-1 sm:grid-cols-2 lg:grid-cols-4">
{STEPS.map((step, index) => (
<div key={step.title} className="p-6">
<p className="font-mono text-xs text-primary">{String(index + 1).padStart(2, "0")}</p>
<h3 className="mt-2 text-[15px] font-semibold">{step.title}</h3>
<p className="mt-1.5 text-sm leading-relaxed text-muted-foreground">{step.text}</p>
</div>
))}
</HairlineGrid>

<div className="mt-8 grid grid-cols-1 gap-4 lg:grid-cols-2">
{[
{ label: "Before", html: beforeHtml, code: BEFORE },
{ label: "After", html: afterHtml, code: AFTER },
].map((sample) => (
<div key={sample.label} className="min-w-0 overflow-hidden rounded-lg border border-border bg-card">
<div className="border-b border-border/70 bg-background/95 px-5 py-2.5 font-mono text-[11px] text-muted-foreground">{sample.label}</div>
{sample.html ? (
<div
className="overflow-x-auto bg-background text-[13px] leading-[1.7] [&_pre]:m-0 [&_pre]:bg-transparent [&_pre]:px-5 [&_pre]:py-5"
dangerouslySetInnerHTML={{ __html: sample.html }}
/>
) : (
<pre className="overflow-x-auto bg-background px-5 py-5 text-[13px] leading-[1.7] text-foreground/85">
<code>{sample.code}</code>
</pre>
)}
</div>
))}
</div>

<div className="mt-8 flex flex-col gap-2.5 sm:flex-row">
<Button className="h-10 px-5" asChild>
<Link href="/signup">
Start free
<ArrowRight className="size-4" />
</Link>
</Button>
<Button variant="outline" className="h-10 px-5" asChild>
<Link href="/pricing">See pricing</Link>
</Button>
</div>
</Section>

<CallToAction />
</main>
);
}
5 changes: 3 additions & 2 deletions apps/web/src/app/(marketing)/dpa/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,9 @@ export default function DpaPage() {
<tbody className="divide-y divide-border/70">
{[
{ name: "NodeByte Hosting", role: "Application hosting and infrastructure", loc: "United Kingdom" },
{ name: "Amazon Web Services (SES)", role: "Email delivery infrastructure", loc: "EU / US" },
{ name: "Upstash (Redis)", role: "Queue processing and caching", loc: "EU" },
{ name: "Amazon Web Services (SES, S3)", role: "Sending and receiving email, and storing received email", loc: "EU / US" },
{ name: "Simple Analytics", role: "Privacy-friendly aggregate website analytics", loc: "Netherlands" },
{ name: "Stripe", role: "Payment processing and billing", loc: "United States" },
].map(({ name, role, loc }) => (
<tr key={name}>
<td className="px-4 py-3 font-medium">{name}</td>
Expand Down
Loading
Loading