<?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:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[email - All your code are belong to us]]></title><description><![CDATA[Thoughts, stories and ideas on code and technology in general.<br>Blog title inspired by <a href="https://en.wikipedia.org/wiki/All_your_base_are_belong_to_us" target="_blank">this meme</a>]]></description><link>https://allurcode.com/</link><image><url>https://allurcode.com/favicon.png</url><title>email - All your code are belong to us</title><link>https://allurcode.com/</link></image><generator>Ghost 4.48</generator><lastBuildDate>Wed, 24 Dec 2025 03:20:59 GMT</lastBuildDate><atom:link href="https://allurcode.com/tag/email/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Configure Mailgun on self hosted Ghost blog]]></title><description><![CDATA[<!--kg-card-begin: markdown--><p><a href="https://www.mailgun.com/">Mailgun</a> is a fantastic, <strong>free</strong> service which allows you to send, receive and track emails effortlessly. It&apos;s dead easy to integrate with your self hosted Ghost blog.</p>
<h3 id="mailgunconfiguration">Mailgun configuration</h3>
<ol>
<li>Log in to your Mailgun account.</li>
<li>Go to &quot;Domains&quot; section.</li>
<li>Click on &quot;Add New Domain&quot;</li></ol>]]></description><link>https://allurcode.com/configure-mailgun-on-self-hosted-ghost-blog/</link><guid isPermaLink="false">5c962968446ec0732dae7599</guid><category><![CDATA[mailgun]]></category><category><![CDATA[ghost]]></category><category><![CDATA[email]]></category><dc:creator><![CDATA[Wojtek]]></dc:creator><pubDate>Sat, 23 Mar 2019 14:36:02 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><p><a href="https://www.mailgun.com/">Mailgun</a> is a fantastic, <strong>free</strong> service which allows you to send, receive and track emails effortlessly. It&apos;s dead easy to integrate with your self hosted Ghost blog.</p>
<h3 id="mailgunconfiguration">Mailgun configuration</h3>
<ol>
<li>Log in to your Mailgun account.</li>
<li>Go to &quot;Domains&quot; section.</li>
<li>Click on &quot;Add New Domain&quot; and add a subdomain you want to send emails from.</li>
<li>Follow on page instructions to add all the DNS entries.</li>
<li>Once DNS changes propagate, verify your domain within Mailgun.</li>
</ol>
<h3 id="ghostconfiguration">Ghost configuration</h3>
<ol>
<li>SSH to your server and edit <code>config.production.json</code> file in your Ghost root directory.<br>
Your &quot;mail&quot; section should look like this:<pre><code class="language-javascript">  &quot;mail&quot;: {
    &quot;transport&quot;: &quot;SMTP&quot;,
    &quot;options&quot;: {
      &quot;service&quot;: &quot;Mailgun&quot;,
      &quot;host&quot;: &quot;smtp.eu.mailgun.org&quot;,
      &quot;auth&quot;: {
        &quot;user&quot;: &quot;postmaster@your_domain.com&quot;,
        &quot;pass&quot;: &quot;1234567890&quot;
      }
    }
  }
</code></pre>
<strong>Notice</strong> <code>host</code> entry within <code>options</code>. Official Ghost documentation does not mention it. If your Mailgun domain is set up in the US region, you don&apos;t need that line. However, if you&apos;ve set up your domain in the EU region, you&apos;ll need to add it in. Otherwise you&apos;ll get an error that your username and password were not recognised.</li>
<li>Save changes and restart Ghost.<pre><code class="language-bash">ghost restart
</code></pre>
</li>
<li>Log in to your Ghost admin.</li>
<li>Go to &quot;Labs&quot;.</li>
<li>Click &quot;Send&quot; in &quot;Test email configuration&quot; section.<br>
The &quot;Send&quot; button should turn green and you should receive a test email confirming your configuration works.</li>
</ol>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Gmail's recent email rendering change]]></title><description><![CDATA[<!--kg-card-begin: markdown--><h3 id="problem">Problem</h3>
<p>Gmail recently made a few changes in their email rendering engine. Unfortunately for us our image based HTML newsletters that used to look fine in gmail are now broken. Each image seems to have a weird spacing after it.<br>
If you&#x2019;ve been sending HTML newsletters for your</p>]]></description><link>https://allurcode.com/gmails-recent-email-rendering-change/</link><guid isPermaLink="false">5b7b0aa2b52b43084c9ea122</guid><category><![CDATA[CSS]]></category><category><![CDATA[email]]></category><category><![CDATA[gmail]]></category><category><![CDATA[Google]]></category><category><![CDATA[HTML]]></category><category><![CDATA[image]]></category><category><![CDATA[spacing]]></category><dc:creator><![CDATA[Wojtek]]></dc:creator><pubDate>Tue, 01 Jun 2010 10:14:28 GMT</pubDate><content:encoded><![CDATA[<!--kg-card-begin: markdown--><h3 id="problem">Problem</h3>
<p>Gmail recently made a few changes in their email rendering engine. Unfortunately for us our image based HTML newsletters that used to look fine in gmail are now broken. Each image seems to have a weird spacing after it.<br>
If you&#x2019;ve been sending HTML newsletters for your clients for some time now, you probably have your own email templates that work well in all email clients. Well not anymore thanks to Google.</p>
<h3 id="solution">Solution</h3>
<p>To make things back to what they were just add <code>style=&quot;display:block;&quot;</code> to every img tag in your HTML email and we&#x2019;re back in business.</p>
<!--kg-card-end: markdown-->]]></content:encoded></item></channel></rss>