<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: alhlm alove</title>
    <description>The latest articles on DEV Community by alhlm alove (@alhlm_alove_2f24b5ebd5875).</description>
    <link>https://dev.to/alhlm_alove_2f24b5ebd5875</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4122973%2F005a4246-8f29-4675-ab8b-3932049179a8.png</url>
      <title>DEV Community: alhlm alove</title>
      <link>https://dev.to/alhlm_alove_2f24b5ebd5875</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alhlm_alove_2f24b5ebd5875"/>
    <language>en</language>
    <item>
      <title>Send Transactional Email from a Verified Domain with an API or SMTP</title>
      <dc:creator>alhlm alove</dc:creator>
      <pubDate>Sun, 13 Sep 2026 09:08:25 +0000</pubDate>
      <link>https://dev.to/alhlm_alove_2f24b5ebd5875/send-transactional-email-from-a-verified-domain-with-an-api-or-smtp-2bn2</link>
      <guid>https://dev.to/alhlm_alove_2f24b5ebd5875/send-transactional-email-from-a-verified-domain-with-an-api-or-smtp-2bn2</guid>
      <description>&lt;p&gt;Password resets, login codes, receipts, and alerts are easier to operate when application email has its own delivery path. Here are the setup decisions that matter before sending.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verify the sending domain
&lt;/h2&gt;

&lt;p&gt;Use a domain you control, then add the DNS records shown by zaSend:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SPF authorizes the delivery service.&lt;/li&gt;
&lt;li&gt;DKIM signs each message so recipients can verify it.&lt;/li&gt;
&lt;li&gt;DMARC tells receiving systems how to handle authentication results.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Wait for DNS to update, then run the domain check again. A domain is ready when all required records match the values generated for it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choose API or SMTP
&lt;/h2&gt;

&lt;p&gt;The API fits an application that already makes HTTPS requests. A request needs the sender, recipient, subject, and HTML or text body. Keep the API key on your server; never put the API key in browser code.&lt;/p&gt;

&lt;p&gt;SMTP is useful when the application or framework already supports SMTP. Use the host and port shown in your domain's SMTP settings, authenticate with a domain sending key, and enable TLS.&lt;/p&gt;

&lt;h2&gt;
  
  
  Send a real application message
&lt;/h2&gt;

&lt;p&gt;Start with one message type, such as a password reset. Give it a clear subject, a plain-text alternative, and an expiring link. Record the provider message ID so delivery events can be connected to the user action that created the message.&lt;/p&gt;

&lt;h2&gt;
  
  
  Handle delivery events
&lt;/h2&gt;

&lt;p&gt;Use webhooks to track accepted, delivered, bounced, and complained messages. Temporary delivery failures may be retried; permanent bounces should be removed from future sends.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep sending safe
&lt;/h2&gt;

&lt;p&gt;Store keys in environment variables or a secrets manager. Use a separate key for each application where possible, rotate keys when access changes, and begin with a small sending volume. Check delivery logs before increasing volume.&lt;/p&gt;

&lt;h2&gt;
  
  
  Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://zasend.com/" rel="noopener noreferrer"&gt;zaSend&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://zasend.com/docs" rel="noopener noreferrer"&gt;API documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://zasend.com/use-cases/smtp-relay" rel="noopener noreferrer"&gt;SMTP relay guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/lr2bmail/zasend-python" rel="noopener noreferrer"&gt;Python SDK on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/lr2bmail/zasend-node" rel="noopener noreferrer"&gt;Node.js SDK on GitHub&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>api</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
