landing.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. <!doctype html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <meta name="description" content="MailHub — self-hosted transactional email with API, SMTP, DNS and webhooks." />
  7. <title>MailHub</title>
  8. </head>
  9. <body>
  10. <div class="page">
  11. <header class="site-header">
  12. <a class="brand" href="#top">
  13. <span class="brand-mark">MH</span>
  14. <span class="brand-name">MailHub</span>
  15. </a>
  16. <nav class="nav-links" aria-label="Primary">
  17. <a href="#features" data-i18n="nav.features">Features</a>
  18. <a href="#quickstart" data-i18n="nav.quickstart">Quick start</a>
  19. <a href="#api" data-i18n="nav.api">API</a>
  20. <a href="#mailboxes" data-i18n="nav.mailboxes">Mailboxes</a>
  21. <a href="#receiving" data-i18n="nav.receiving">Receiving</a>
  22. <a href="#domains" data-i18n="nav.domains">Domain setup</a>
  23. <a href="#smtp" data-i18n="nav.smtp">SMTP</a>
  24. <a href="#webhooks" data-i18n="nav.webhooks">Webhooks</a>
  25. </nav>
  26. <div class="header-actions">
  27. <div class="lang-switch" role="group" aria-label="Language">
  28. <button type="button" data-locale="zh-CN" class="lang-btn">中文</button>
  29. <button type="button" data-locale="en-US" class="lang-btn">EN</button>
  30. </div>
  31. <a
  32. class="btn btn-ghost"
  33. href="https://github.com/chendeben/MailHub"
  34. target="_blank"
  35. rel="noopener noreferrer"
  36. data-i18n="cta.github"
  37. >GitHub</a>
  38. <a class="btn btn-ghost" href="/login" data-i18n="cta.login">Log in</a>
  39. <a class="btn btn-primary" href="/register" data-i18n="cta.signup">Get started</a>
  40. </div>
  41. </header>
  42. <main id="top">
  43. <section class="hero">
  44. <div class="hero-copy">
  45. <p class="eyebrow" data-i18n="hero.eyebrow">Transactional email platform</p>
  46. <h1 data-i18n="hero.title">Send reliable email via API &amp; SMTP</h1>
  47. <p class="lede" data-i18n="hero.lede">
  48. Self-hosted MailHub gives you domain DNS guidance, DKIM signing, delivery logs, and signed webhooks — without locking you into a black-box SaaS.
  49. </p>
  50. <div class="hero-cta">
  51. <a class="btn btn-primary btn-lg" href="/register" data-i18n="cta.signup">Get started</a>
  52. <a class="btn btn-ghost btn-lg" href="#api" data-i18n="cta.viewApi">View API sample</a>
  53. </div>
  54. <ul class="trust-strip">
  55. <li data-i18n="trust.selfHosted">Self-hosted</li>
  56. <li>DKIM</li>
  57. <li>SPF</li>
  58. <li>DMARC</li>
  59. <li data-i18n="trust.webhooks">Delivery webhooks</li>
  60. </ul>
  61. </div>
  62. <div class="hero-code" aria-hidden="false">
  63. <div class="code-card">
  64. <div class="code-card-bar">
  65. <span>curl</span>
  66. <button type="button" class="copy-btn" data-copy-target="hero-curl" data-i18n="common.copy">Copy</button>
  67. </div>
  68. <pre id="hero-curl"><code data-i18n-html="hero.curl"></code></pre>
  69. </div>
  70. </div>
  71. </section>
  72. <section id="features" class="section">
  73. <div class="section-head">
  74. <h2 data-i18n="features.title">Built for production senders</h2>
  75. <p data-i18n="features.sub">Everything you need to authenticate domains and observe delivery.</p>
  76. </div>
  77. <div class="feature-grid">
  78. <article class="card"><h3 data-i18n="features.dns.title">Domains &amp; DNS</h3><p data-i18n="features.dns.body">Guided SPF, DKIM, DMARC, and one-click DNS provider writes.</p></article>
  79. <article class="card"><h3 data-i18n="features.smtp.title">SMTP Submission</h3><p data-i18n="features.smtp.body">App-friendly SMTP listeners with credentials you control.</p></article>
  80. <article class="card"><h3 data-i18n="features.api.title">HTTP Send API</h3><p data-i18n="features.api.body">Bearer tokens and a simple JSON send endpoint for apps and services.</p></article>
  81. <article class="card"><h3 data-i18n="features.mailboxes.title">Mailboxes &amp; receiving</h3><p data-i18n="features.mailboxes.body">Create persistent or expiring inboxes with IMAP, POP3, forwarding, and catch-all routing.</p></article>
  82. <article class="card"><h3 data-i18n="features.logs.title">Delivery logs</h3><p data-i18n="features.logs.body">Track queue and MTA outcomes with searchable send history.</p></article>
  83. <article class="card"><h3 data-i18n="features.hooks.title">Webhooks</h3><p data-i18n="features.hooks.body">Signed callbacks for sent, bounced, and failed terminal events.</p></article>
  84. <article class="card"><h3 data-i18n="features.multi.title">Multi-user isolation</h3><p data-i18n="features.multi.body">Domains, tokens, and logs stay scoped to each account.</p></article>
  85. </div>
  86. </section>
  87. <section id="quickstart" class="section section-alt">
  88. <div class="section-head">
  89. <h2 data-i18n="quickstart.title">Start in four steps</h2>
  90. <p data-i18n="quickstart.sub">The console keeps domain, token, mailbox, and delivery configuration in one place.</p>
  91. </div>
  92. <div class="steps-grid">
  93. <article class="card">
  94. <span class="step-number">1</span>
  95. <h3 data-i18n="quickstart.domain.title">Add a domain</h3>
  96. <p data-i18n="quickstart.domain.body">Add your sending domain and publish the DNS records shown by MailHub.</p>
  97. <a class="text-link" href="#domains" data-i18n="quickstart.domain.link">Review domain setup →</a>
  98. </article>
  99. <article class="card">
  100. <span class="step-number">2</span>
  101. <h3 data-i18n="quickstart.token.title">Create a scoped token</h3>
  102. <p data-i18n="quickstart.token.body">Give each integration only the send or mailbox permissions it needs.</p>
  103. <a class="text-link" href="#api" data-i18n="quickstart.token.link">Review API access →</a>
  104. </article>
  105. <article class="card">
  106. <span class="step-number">3</span>
  107. <h3 data-i18n="quickstart.mailbox.title">Provision mailboxes</h3>
  108. <p data-i18n="quickstart.mailbox.body">Create persistent mailboxes in the console or create persistent and temporary mailboxes by API.</p>
  109. <a class="text-link" href="#mailboxes" data-i18n="quickstart.mailbox.link">Review mailbox API →</a>
  110. </article>
  111. <article class="card">
  112. <span class="step-number">4</span>
  113. <h3 data-i18n="quickstart.client.title">Connect your client</h3>
  114. <p data-i18n="quickstart.client.body">Use SMTP to send and IMAP or POP3 to receive with the mailbox's full address and password.</p>
  115. <a class="text-link" href="#smtp" data-i18n="quickstart.client.link">Review protocol settings →</a>
  116. </article>
  117. </div>
  118. </section>
  119. <section id="api" class="section">
  120. <div class="section-head">
  121. <h2 data-i18n="api.title">API authentication and sending</h2>
  122. <p data-i18n="api.sub">All public API calls use a Bearer token. The hostname below is a placeholder; replace it with your MailHub host.</p>
  123. </div>
  124. <div class="doc-grid">
  125. <article class="card">
  126. <h3 data-i18n="api.auth.title">Create and protect a token</h3>
  127. <p data-i18n="api.auth.body">Create a token in Console &gt; API Tokens. The complete secret is shown only once, so store it outside browser code and public repositories.</p>
  128. <ul class="field-list compact-list">
  129. <li><code>send</code> — <span data-i18n="api.auth.send">send messages with POST /api/send</span></li>
  130. <li><code>mailboxes:read</code> — <span data-i18n="api.auth.read">list mailboxes with GET /api/mailboxes</span></li>
  131. <li><code>mailboxes:write</code> — <span data-i18n="api.auth.write">create mailboxes with POST /api/mailboxes</span></li>
  132. </ul>
  133. </article>
  134. <article class="card">
  135. <h3 data-i18n="api.send.title">Send a message</h3>
  136. <p data-i18n="api.send.body">The From domain must belong to the token account. When verified sending is enabled, complete the domain DNS checks before sending.</p>
  137. <p class="note compact-note"><code>Authorization: Bearer &lt;USER_API_TOKEN&gt;</code></p>
  138. </article>
  139. </div>
  140. <div class="code-card">
  141. <div class="code-card-bar">
  142. <span>POST /api/send</span>
  143. <button type="button" class="copy-btn" data-copy-target="api-curl" data-i18n="common.copy">Copy</button>
  144. </div>
  145. <pre id="api-curl"><code data-i18n-html="api.curl"></code></pre>
  146. </div>
  147. <div class="table-wrap">
  148. <table>
  149. <thead>
  150. <tr>
  151. <th data-i18n="api.fields.name">Field</th>
  152. <th data-i18n="api.fields.required">Required</th>
  153. <th data-i18n="api.fields.description">Description</th>
  154. </tr>
  155. </thead>
  156. <tbody>
  157. <tr><td><code>from</code></td><td data-i18n="common.yes">Yes</td><td data-i18n="api.field.from">sender address on an account-owned domain</td></tr>
  158. <tr><td><code>to</code></td><td data-i18n="common.yes">Yes</td><td data-i18n="api.field.to">recipient string or an address array</td></tr>
  159. <tr><td><code>subject</code></td><td data-i18n="common.no">No</td><td data-i18n="api.field.subject">defaults to (no subject)</td></tr>
  160. <tr><td><code>text</code></td><td data-i18n="common.no">No</td><td data-i18n="api.field.text">plain-text body</td></tr>
  161. <tr><td><code>html</code></td><td data-i18n="common.no">No</td><td data-i18n="api.field.html">HTML body; required when enabling open or click tracking</td></tr>
  162. <tr><td><code>tracking</code></td><td data-i18n="common.no">No</td><td data-i18n="api.field.tracking">true/false, or { opens, clicks }; rewrites HTML only</td></tr>
  163. <tr><td><code>smtpRelayId</code></td><td data-i18n="common.no">No</td><td data-i18n="api.field.relay">an account-owned outbound SMTP relay ID</td></tr>
  164. </tbody>
  165. </table>
  166. </div>
  167. <div class="code-card doc-code-card">
  168. <div class="code-card-bar"><span data-i18n="api.responseLabel">202 response</span></div>
  169. <pre><code data-i18n-html="api.response"></code></pre>
  170. </div>
  171. <p class="note" data-i18n="api.note">A 202 response means MailHub accepted the message for SMTP delivery. Use the console delivery log or webhooks to observe the later result.</p>
  172. </section>
  173. <section id="mailboxes" class="section section-alt">
  174. <div class="section-head">
  175. <h2 data-i18n="mailboxes.title">Mailbox API and clients</h2>
  176. <p data-i18n="mailboxes.sub">Create a persistent address for ongoing work, or an expiring address for a short-lived workflow.</p>
  177. </div>
  178. <div class="doc-grid">
  179. <article class="card">
  180. <h3 data-i18n="mailboxes.api.title">Mailbox API scope</h3>
  181. <p data-i18n="mailboxes.api.body">POST /api/mailboxes requires mailboxes:write. The target domain must belong to the token account.</p>
  182. <ul class="field-list compact-list">
  183. <li><code>mode</code> — <span data-i18n="mailboxes.api.mode">permanent or temporary</span></li>
  184. <li><code>address</code> / <code>domain</code> — <span data-i18n="mailboxes.api.address">use a full address, or choose domain plus localPart</span></li>
  185. <li><code>expiresInMinutes</code> — <span data-i18n="mailboxes.api.expires">required for temporary mailboxes; 5 minutes to 30 days</span></li>
  186. <li><code>password</code> — <span data-i18n="mailboxes.api.password">optional; a secure password is returned once when omitted</span></li>
  187. </ul>
  188. </article>
  189. <article class="card">
  190. <h3 data-i18n="mailboxes.client.title">Use the returned configuration</h3>
  191. <p data-i18n="mailboxes.client.body">Creation returns the address, password, expiration, and ready-to-use IMAP, POP3, and SMTP settings.</p>
  192. <ul class="field-list compact-list">
  193. <li><strong>IMAP</strong> — <span data-i18n="mailboxes.client.imap">recommended for synchronized folders and sent mail</span></li>
  194. <li><strong>POP3</strong> — <span data-i18n="mailboxes.client.pop3">for download-oriented clients</span></li>
  195. <li><strong>SMTP</strong> — <span data-i18n="mailboxes.client.smtp">use the same full mailbox address and password to send</span></li>
  196. </ul>
  197. </article>
  198. </div>
  199. <div class="reference-grid">
  200. <div class="code-card doc-code-card">
  201. <div class="code-card-bar"><span data-i18n="mailboxes.permanent.label">POST /api/mailboxes - permanent</span><button type="button" class="copy-btn" data-copy-target="mailbox-permanent-curl" data-i18n="common.copy">Copy</button></div>
  202. <pre id="mailbox-permanent-curl"><code data-i18n-html="mailboxes.permanent.curl"></code></pre>
  203. </div>
  204. <div class="code-card doc-code-card">
  205. <div class="code-card-bar"><span data-i18n="mailboxes.temporary.label">POST /api/mailboxes - temporary</span><button type="button" class="copy-btn" data-copy-target="mailbox-temporary-curl" data-i18n="common.copy">Copy</button></div>
  206. <pre id="mailbox-temporary-curl"><code data-i18n-html="mailboxes.temporary.curl"></code></pre>
  207. </div>
  208. </div>
  209. <div class="code-card doc-code-card">
  210. <div class="code-card-bar"><span>GET /api/mailboxes</span><button type="button" class="copy-btn" data-copy-target="mailbox-list-curl" data-i18n="common.copy">Copy</button></div>
  211. <pre id="mailbox-list-curl"><code data-i18n-html="mailboxes.list.curl"></code></pre>
  212. </div>
  213. <div class="code-card doc-code-card">
  214. <div class="code-card-bar"><span data-i18n="mailboxes.responseLabel">201 creation response</span></div>
  215. <pre><code data-i18n-html="mailboxes.response"></code></pre>
  216. </div>
  217. <ul class="field-list">
  218. <li data-i18n="mailboxes.lifecycle.password">The returned password is the only opportunity to read an automatically generated password.</li>
  219. <li data-i18n="mailboxes.lifecycle.temporary">A temporary mailbox expires after the requested interval and then stops receiving mail and authenticating.</li>
  220. <li data-i18n="mailboxes.lifecycle.list">Use mailboxes:read to list mailbox metadata; passwords are never returned by the list endpoint.</li>
  221. </ul>
  222. </section>
  223. <section id="receiving" class="section">
  224. <div class="section-head">
  225. <h2 data-i18n="receiving.title">Receiving mail</h2>
  226. <p data-i18n="receiving.sub">Mail arrives through the domain MX record. Read it in MailHub Inbox or through standard IMAP/POP3 clients; there is no separate inbound Bearer API.</p>
  227. </div>
  228. <div class="doc-grid">
  229. <article class="card">
  230. <h3 data-i18n="receiving.delivery.title">Inbound delivery</h3>
  231. <p data-i18n="receiving.delivery.body">Set the domain MX record to the receiving host. External mail servers then deliver to SMTP port 25, and MailHub stores mail for an existing mailbox, alias, or catch-all target.</p>
  232. </article>
  233. <article class="card">
  234. <h3 data-i18n="receiving.routing.title">Mailbox, aliases, and catch-all</h3>
  235. <p data-i18n="receiving.routing.body">Create a full mailbox address first. Add aliases or forwarding on that mailbox, and configure the domain catch-all in the console to route unknown local parts to a mailbox or another address.</p>
  236. </article>
  237. </div>
  238. <div class="table-wrap">
  239. <table>
  240. <thead>
  241. <tr>
  242. <th data-i18n="receiving.protocols.protocol">Protocol</th>
  243. <th data-i18n="receiving.protocols.ports">Recommended ports</th>
  244. <th data-i18n="receiving.protocols.security">Security</th>
  245. <th data-i18n="receiving.protocols.use">Use</th>
  246. </tr>
  247. </thead>
  248. <tbody>
  249. <tr><td>IMAP</td><td><code>993</code> / <code>143</code></td><td data-i18n="receiving.protocols.imapSecurity">SSL/TLS or STARTTLS</td><td data-i18n="receiving.protocols.imapUse">recommended for synchronized folders</td></tr>
  250. <tr><td>POP3</td><td><code>995</code> / <code>110</code></td><td data-i18n="receiving.protocols.pop3Security">SSL/TLS or STLS</td><td data-i18n="receiving.protocols.pop3Use">download-oriented clients</td></tr>
  251. <tr><td>SMTP</td><td><code>465</code> / <code>587</code></td><td data-i18n="receiving.protocols.smtpSecurity">SMTPS or STARTTLS</td><td data-i18n="receiving.protocols.smtpUse">send with the same mailbox address and password</td></tr>
  252. </tbody>
  253. </table>
  254. </div>
  255. <p class="note" data-i18n="receiving.folders">IMAP exposes INBOX, Sent, Drafts, Trash, Junk, and Archive. Use IMAP when the client should synchronize these folders and save sent messages.</p>
  256. </section>
  257. <section id="domains" class="section">
  258. <div class="section-head">
  259. <h2 data-i18n="domainsDoc.title">Domain configuration</h2>
  260. <p data-i18n="domainsDoc.sub">Create the domain in MailHub first. Its DNS panel is the source of truth for your exact verification, DKIM, SPF, DMARC, and sender-host values.</p>
  261. </div>
  262. <div class="table-wrap">
  263. <table>
  264. <thead>
  265. <tr>
  266. <th data-i18n="domainsDoc.col.purpose">Purpose</th>
  267. <th data-i18n="domainsDoc.col.record">Record</th>
  268. <th data-i18n="domainsDoc.col.requirement">Requirement</th>
  269. </tr>
  270. </thead>
  271. <tbody>
  272. <tr><td data-i18n="domainsDoc.row.verify">Domain ownership</td><td><code>TXT _mailhub.&lt;domain&gt;</code></td><td data-i18n="domainsDoc.row.verifyValue">Publish the verification value generated in the console.</td></tr>
  273. <tr><td>DKIM</td><td><code>TXT &lt;selector&gt;._domainkey.&lt;domain&gt;</code></td><td data-i18n="domainsDoc.row.dkim">Publish the public key generated for this domain.</td></tr>
  274. <tr><td>SPF</td><td><code>TXT &lt;domain&gt;</code></td><td data-i18n="domainsDoc.row.spf">Keep one SPF record and include the sender IP/host required by MailHub.</td></tr>
  275. <tr><td>DMARC</td><td><code>TXT _dmarc.&lt;domain&gt;</code></td><td data-i18n="domainsDoc.row.dmarc">Start with monitoring, then strengthen the policy after alignment is verified.</td></tr>
  276. <tr><td data-i18n="domainsDoc.row.mx">Inbound mail</td><td><code>MX &lt;domain&gt;</code></td><td data-i18n="domainsDoc.row.mxValue">Point MX to the MailHub receiving host and ensure that host has an A/AAAA record.</td></tr>
  277. </tbody>
  278. </table>
  279. </div>
  280. <p class="note" data-i18n="domainsDoc.note">For reliable delivery, also configure the sending IP's PTR to match the MailHub sending hostname and allow the documented SMTP, IMAP, and POP3 ports through your firewall.</p>
  281. </section>
  282. <section id="smtp" class="section section-alt">
  283. <div class="section-head">
  284. <h2 data-i18n="smtp.title">SMTP submission</h2>
  285. <p data-i18n="smtp.sub">Default listener ports (override in your deployment):</p>
  286. </div>
  287. <div class="port-grid">
  288. <div class="card mono"><strong>25</strong><span>smtp</span></div>
  289. <div class="card mono"><strong>587</strong><span>smtp / STARTTLS</span></div>
  290. <div class="card mono"><strong>465</strong><span>smtps</span></div>
  291. <div class="card mono"><strong>2525</strong><span>smtp</span></div>
  292. </div>
  293. <div class="doc-grid">
  294. <article class="card"><h3 data-i18n="smtp.app.title">Application SMTP</h3><p data-i18n="smtp.app.body">Create an SMTP login credential in the console for an application. Use that credential with an account-owned From domain.</p></article>
  295. <article class="card"><h3 data-i18n="smtp.mailbox.title">Mailbox SMTP</h3><p data-i18n="smtp.mailbox.body">A created mailbox can also authenticate over SMTP with its full email address and password. Use the same credentials for IMAP or POP3.</p></article>
  296. </div>
  297. <p class="note" data-i18n="smtp.note">Prefer 465 or 587 for sending, 993 for IMAP, and 995 for POP3. The creation response is the source of truth when a deployment overrides default ports or TLS listeners.</p>
  298. </section>
  299. <section id="errors" class="section">
  300. <div class="section-head">
  301. <h2 data-i18n="errors.title">Responses and common errors</h2>
  302. <p data-i18n="errors.sub">The API returns JSON. Validate the HTTP status before consuming a response body.</p>
  303. </div>
  304. <div class="table-wrap">
  305. <table>
  306. <thead><tr><th data-i18n="errors.status">Status</th><th data-i18n="errors.meaning">Meaning</th><th data-i18n="errors.action">What to do</th></tr></thead>
  307. <tbody>
  308. <tr><td><code>201</code></td><td data-i18n="errors.201.meaning">Mailbox created</td><td data-i18n="errors.201.action">Store the one-time password and clientConfig.</td></tr>
  309. <tr><td><code>202</code></td><td data-i18n="errors.202.meaning">Message accepted for SMTP delivery</td><td data-i18n="errors.202.action">Inspect delivery logs or webhooks for later delivery status.</td></tr>
  310. <tr><td><code>400</code></td><td data-i18n="errors.400.meaning">Invalid request or domain ownership rule</td><td data-i18n="errors.400.action">Read the JSON error and correct the request body or domain setup.</td></tr>
  311. <tr><td><code>401</code></td><td data-i18n="errors.401.meaning">Missing, invalid, revoked, or expired token</td><td data-i18n="errors.401.action">Create or rotate a valid token.</td></tr>
  312. <tr><td><code>403</code></td><td data-i18n="errors.403.meaning">Token does not have the required scope</td><td data-i18n="errors.403.action">Grant the minimum required scope in Console &gt; API Tokens.</td></tr>
  313. <tr><td><code>409</code></td><td data-i18n="errors.409.meaning">Mailbox address already exists</td><td data-i18n="errors.409.action">Choose another address or use the existing mailbox.</td></tr>
  314. </tbody>
  315. </table>
  316. </div>
  317. </section>
  318. <section id="webhooks" class="section">
  319. <div class="section-head">
  320. <h2 data-i18n="webhooks.title">Delivery webhooks</h2>
  321. <p data-i18n="webhooks.sub">Terminal events only — signed HTTPS callbacks to your systems.</p>
  322. </div>
  323. <div class="table-wrap">
  324. <table>
  325. <thead>
  326. <tr>
  327. <th data-i18n="webhooks.col.status">Status</th>
  328. <th data-i18n="webhooks.col.type">type</th>
  329. </tr>
  330. </thead>
  331. <tbody>
  332. <tr><td><code>sent</code></td><td><code>email.sent</code></td></tr>
  333. <tr><td><code>bounced</code></td><td><code>email.bounced</code></td></tr>
  334. <tr><td><code>failed</code></td><td><code>email.failed</code></td></tr>
  335. </tbody>
  336. </table>
  337. </div>
  338. <p class="note"><span data-i18n="webhooks.sig">Signature header:</span> <code>X-MailHub-Signature: t=&lt;unix&gt;,v1=&lt;hmac&gt;</code></p>
  339. </section>
  340. <section class="section cta-band">
  341. <h2 data-i18n="ctaBand.title">Ready to send?</h2>
  342. <p data-i18n="ctaBand.sub">Create an account, add a domain, and ship your first message in minutes.</p>
  343. <div class="hero-cta">
  344. <a class="btn btn-primary btn-lg" href="/register" data-i18n="cta.signup">Get started</a>
  345. <a class="btn btn-ghost btn-lg" href="/login" data-i18n="cta.login">Log in</a>
  346. </div>
  347. </section>
  348. </main>
  349. <footer class="site-footer">
  350. <div>
  351. <strong>MailHub</strong>
  352. <span data-i18n="footer.tag">Self-hosted email delivery control plane</span>
  353. </div>
  354. <div class="footer-links">
  355. <a
  356. href="https://github.com/chendeben/MailHub"
  357. target="_blank"
  358. rel="noopener noreferrer"
  359. data-i18n="cta.github"
  360. >GitHub</a>
  361. <a href="/login" data-i18n="cta.login">Log in</a>
  362. <a href="/register" data-i18n="cta.signup">Get started</a>
  363. </div>
  364. </footer>
  365. </div>
  366. <script type="module" src="/src/frontend/landing/main.ts"></script>
  367. </body>
  368. </html>