<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Felix Gil🌹 on Medium]]></title>
        <description><![CDATA[Stories by Felix Gil🌹 on Medium]]></description>
        <link>https://medium.com/@flxgs?source=rss-e5cf5265efd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AAJoIMB8pweGafDgv9iRzA.jpeg</url>
            <title>Stories by Felix Gil🌹 on Medium</title>
            <link>https://medium.com/@flxgs?source=rss-e5cf5265efd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 11:45:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@flxgs/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Using Postmark for Transactional Emails in Discourse]]></title>
            <link>https://medium.com/@flxgs/using-postmark-for-transactional-emails-in-discourse-f7c5e2ef415c?source=rss-e5cf5265efd------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7c5e2ef415c</guid>
            <category><![CDATA[email]]></category>
            <category><![CDATA[transactional-emails]]></category>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[discourse]]></category>
            <category><![CDATA[postmark]]></category>
            <dc:creator><![CDATA[Felix Gil]]></dc:creator>
            <pubDate>Sat, 18 May 2024 12:15:37 GMT</pubDate>
            <atom:updated>2024-05-18T12:15:37.421Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Exvjlp5ATqf_zAD3BxwQdA.png" /></figure><p>Ive been struggling quite a lot to set up transactional emails for Discourse in a DigitalOcean Droplet. My account was deactivated by Sendgrid team and I couldn&#39;t get in touch with Customer Support. That basically made my emails get stuck with a ‘Processing’ status. I love SendGrid but I wanted to move quickly so I decided to try with Postmark.</p><p>I <em>found 0 documentation</em> for the set-up in Discourse but after spending couple hours reading and testing I made it work. I’ll show what I did assuming you know how to do the rest of Discourse installing in Docker.</p><ul><li>I made all my DNS config in Cloudflare, thats important too.</li></ul><h3><strong>Step 1</strong></h3><p>Create your Posrmark Account — Make sure you activate 2FA and have your account verified by the Postmark team. It is pretty straightforward so I’ll be skipping details here as well</p><h3>Step 2</h3><p>Create a new server with the domain you’ll use</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l5AD8gWvnnBPr9fESupajQ.png" /></figure><h3>Step 3 — Sender Signature</h3><p>Now we need to create the sender signature. Just follow Postmark’ steps.</p><p>In order to verify both DKIM and Return-Path click ‘DNS Settings’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H9_uXZrgT3OU_1QEHhE6kg.png" /></figure><h3>Step 4 — DNS Settings</h3><p>Add TXT and CNAME records with the name and value provided by Postmark. In my case, I manage DNS with Clodflare, I recommend it for any kind of project tbh.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IsTw2EqNu3hLUTm5KrUV5Q.png" /></figure><p>You’ll also probably have other records. My A record is pointing to my DigitalOcean Droplet. The TXT dmarc record was created automatically by Clodflare as well. You can do that by going to the ‘Email’ menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*83walVNWznzdXeixN6zPuQ.png" /></figure><h3>Step 5</h3><p>Now you need 2 important keys that will be needed to properly install Discourse: Access Key and Secret Key</p><p>To find them go to you server &gt; Message Streams &gt; Default Transactional Stream. Then look for the SMTP settings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0VTnau2MdWS2qZiODmeP0w.png" /></figure><figure><img alt="This screenshot comes from the original docs" src="https://cdn-images-1.medium.com/max/1024/1*WzXj575ROrBSn8VnxpO-EA.png" /></figure><pre>This screenshot comes from the original docs ^^^^</pre><h3>Step 6 — Finish Discourse set-up</h3><p>Now you can continue with Discourse setup normally using the ./discourse-setup script</p><p>Very important:</p><p>When Discourse setup asks you for ‘username’ use the access key from Postmark ‘PM-Tprod-….’</p><p>When asked for the password paste the secret key ‘Mw….’</p><p>The port I used was 587</p><p>That’s pretty much it, I wanted to keep it extra short because I just don’t have time to give more detail. If you follow Discourse setup it should work for any kind of email, like the email validation at the beginning of the setup.</p><p>Feel free to ask any questions and I’ll try yo help! 🌹</p><p>Félix</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7c5e2ef415c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>