<?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: Valeria</title>
    <description>The latest articles on DEV Community by Valeria (@valeria1789).</description>
    <link>https://dev.to/valeria1789</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F963248%2F6e8c9460-b7b7-417e-8c0a-ad59ad8b4db2.png</url>
      <title>DEV Community: Valeria</title>
      <link>https://dev.to/valeria1789</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/valeria1789"/>
    <language>en</language>
    <item>
      <title>DMARC Explained</title>
      <dc:creator>Valeria</dc:creator>
      <pubDate>Fri, 25 Nov 2022 13:18:57 +0000</pubDate>
      <link>https://dev.to/valeria1789/dmarc-explained-28fj</link>
      <guid>https://dev.to/valeria1789/dmarc-explained-28fj</guid>
      <description>&lt;p&gt;Back in 2012, engineers from Microsoft, PayPal, Yahoo!, and Google met to discuss making authenticating emails even more bulletproof. At the end of the day, they released DMARC to the world.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is DMARC?
&lt;/h2&gt;

&lt;p&gt;Domain-based Message Authentication Reporting and Conformance not only has the most complicated name of all three methods but is also the most effective. And it’s quite easy to understand why. &lt;/p&gt;

&lt;p&gt;DMARC leverages DKIM and/or SPF to perform a more advanced check on each email received.&lt;/p&gt;

&lt;p&gt;With DMARC, a domain owner can specify its own authentication procedure (known as a DMARC policy). Using it, they instruct an incoming server on what to do if an email fails to pass the DMARC test. Finally, the policy can also provide reports with the details of each check to improve processes and provide immediate warning if anyone spoofs the account.&lt;/p&gt;

&lt;h2&gt;
  
  
  How DMARC works
&lt;/h2&gt;

&lt;p&gt;DMARC requires either &lt;a href="https://mailtrap.io/blog/spf-records-explained/" rel="noopener noreferrer"&gt;SPF&lt;/a&gt; or &lt;a href="https://mailtrap.io/blog/dkim/" rel="noopener noreferrer"&gt;DKIM&lt;/a&gt; records – or better, both of them – to be set. &lt;/p&gt;

&lt;p&gt;When an email is received, a receiving server does a DNS lookup and checks if there’s an existing DMARC record. &lt;/p&gt;

&lt;p&gt;DKIM/SPF is performed as usual. A receiving server then performs a so-called “alignment test”. It verifies if:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the case of SPF, the “envelope from” email address matches the “return-path” address. In other words, it checks if the email address the message was sent from is the same as the address a potential reply would go to.&lt;/li&gt;
&lt;li&gt;In the case of DKIM, the value behind the ‘d’ tag (sender’s domain) matches the domain an email was sent from.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Of course, if both authentications are set up, both alignment tests are also performed. The alignment requirements can be ‘strict’ (the domains need to precisely match) or ‘relaxed’ (base domains need to match, but different subdomains are allowed). &lt;/p&gt;

&lt;p&gt;DMARC will succeed in the following scenarios:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If only one of the authentications is set up, its check must be successful along with a respective alignment test.&lt;/li&gt;
&lt;li&gt;If both methods are set up, one of them needs to be successful with the respective alignment test but both are not required.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Notice how DMARC will still succeed even if, e.g. DKIM along with DKIM alignment fails, but SPF and its alignment succeeds (or the other way around).&lt;/p&gt;

&lt;p&gt;Now, let’s assume an email failed a DMARC check for whatever reason. &lt;/p&gt;

&lt;p&gt;DMARC lets you instruct the incoming server on what should happen to an email that failed a check. Three options are available (they’re referred to as “policies”):&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkzz7ythbg8jfv8gk5g9b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkzz7ythbg8jfv8gk5g9b.png" alt="Image description" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;‘None’ – it means that an email should be treated the same as if no DMARC was set up (a message can still be delivered, put in spam, or discarded based on the other factors). This is typically used to watch the environment and analyze the reports without influencing the deliverability.&lt;/li&gt;
&lt;li&gt;‘Quarantine’ – allow an email but don’t deliver it to an inbox. Usually, such messages go to the spam folder.&lt;/li&gt;
&lt;li&gt;‘Reject’ – discard the messages that failed the check right away.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These instructions can also be customized. For example, with a ‘quarantine’ policy, you could tell the server to send only 10% of emails with a failed check to a spam folder and ignore (‘none’) the other 90%. Note that just because you instruct the server on what to do, it doesn’t mean that it will follow your advice. But it still puts you in much more control than in the case of DKIM and SPF authentications.&lt;/p&gt;

&lt;p&gt;Finally, a receiving server will send reports for each failed DMARC verification and with aggregated data about unsuccessful checks. It’s invaluable for analyzing the performance of your message to keep you in the loop if any phishing attempts occur.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does a DMARC record look like?
&lt;/h2&gt;

&lt;p&gt;Let’s now break down an example record. Instead of relying on dummy data, we’ll use the record of &lt;a href="https://squareup.com/" rel="noopener noreferrer"&gt;Square&lt;/a&gt;, a unicorn provider of financial services for small businesses. Many cybercriminals probably dream of spoofing their emails, so it’s no surprise they chose to protect themselves with DMARC.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;v=DMARC1; p=reject; rua=mailto:dmarc-rua@square.com,mailto:dmarc_agg@vali.email,mailto:postmasters@squareup.com; ruf=mailto:dmarc-ruf@squareup.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can access this record &lt;a href="https://dmarcian.com/dmarc-inspector/?domain=square.com" rel="noopener noreferrer"&gt;under this link&lt;/a&gt;. This site will also show you DMARC records for any other domain, given, of course, that it has been configured. Let’s go through each tag mentioned above, one by one.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;v=DMARC1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the identifier (a DMARC version) that should always be included in the DNS record. The receiving server always looks for it. If v=DMARC1 is missing or is modified in any way, the whole verification will be skipped.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;p=reject
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The policy Square chose to use is to reject all emails that fail the DMARC check. Of course, they might still be delivered, but a strong signal will be sent to the receiving server not to allow such messages.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;rua=mailto:dmarc-rua@square.com,mailto:dmarc_agg@vali.email,mailto:postmasters@squareup.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These three addresses will be receiving daily, aggregate reports about the emails that failed the verification. This will be high-level data about the reasons for failures, without giving any details of each. Each address added here needs to be proceeded with “mailto:” as in the example.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ruf=mailto:dmarc-ruf@squareup.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This, on the other hand, is an email address where individual forensics reports will be sent in real-time, including the details of each failure. &lt;/p&gt;

&lt;p&gt;As is usually the case, there’s also a number of optional fields that can be added to the record to customize it a bit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Some optional DMARC tags for customization
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F50yq4fbvs8tzw11lodoh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F50yq4fbvs8tzw11lodoh.png" alt="Image description" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3dbjif6wlwprszwujqy9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3dbjif6wlwprszwujqy9.png" alt="Image description" width="800" height="650"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;To see other customizable tags, head to the original Mailtrap article which explains &lt;a href="https://mailtrap.io/blog/dmarc-explained/" rel="noopener noreferrer"&gt;how DMARC works&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to implement DMARC records
&lt;/h2&gt;

&lt;p&gt;The whole process comes down to the following steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Validating if SPF/DKIM are set up and domains aligned.&lt;/li&gt;
&lt;li&gt;Generating a DMARC record and specifying its settings.&lt;/li&gt;
&lt;li&gt;Adding it to your domain’s DNS.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Verify if DKIM and/or SPF are set up properly
&lt;/h3&gt;

&lt;p&gt;As mentioned earlier, having either of them is compulsory for DMARC to work. But having one that returns negative results for legitimate emails will also do no good. The DMARC test will fail automatically if SPF or DKIM fails.&lt;/p&gt;

&lt;p&gt;If you have only SPF set up, check if the following two match:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;‘Envelope from’ address – the address emails are sent from.&lt;/li&gt;
&lt;li&gt;‘Return-path’ address – the address emails will be directed to if a recipient responds to an email.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you rely only on DKIM, check if the following two match:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;‘Envelope from’ address – the address emails are sent from.&lt;/li&gt;
&lt;li&gt;‘d’ tag of your DKIM record.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you use both methods (and rightly so!), perform both checks, of course. &lt;/p&gt;

&lt;h3&gt;
  
  
  Choose an email account for receiving DKIM records
&lt;/h3&gt;

&lt;p&gt;A great thing about DMARC is that, when set up, your server starts sending you daily reports of how your emails performed (separate aggregate and forensic reports). This way, you can quickly spot any abnormalities and improve your performance using data. &lt;/p&gt;

&lt;p&gt;Keep in mind that reports are sent in a raw, hard to read format. You may want to use tools like &lt;a href="https://dmarcian.com/xml-to-human-converter/" rel="noopener noreferrer"&gt;Dmarcian&lt;/a&gt; or &lt;a href="https://mxtoolbox.com/DmarcReportAnalyzer.aspx" rel="noopener noreferrer"&gt;MXToolbox&lt;/a&gt; to get the most out of data. &lt;/p&gt;

&lt;h3&gt;
  
  
  Generate DMARC record
&lt;/h3&gt;

&lt;p&gt;And now, let’s finally generate a DMARC record. &lt;a href="https://dmarc.org/resources/deployment-tools/" rel="noopener noreferrer"&gt;Dmarc.org recommends a number of resources&lt;/a&gt; for this task. There are several tags mentioned above you need to use in a record and a number of optional ones. Note that the ‘p’ tag (as in ‘policy’) will directly represent the previous step.&lt;/p&gt;

&lt;h3&gt;
  
  
  Add DMARC record to your domain’s DNS
&lt;/h3&gt;

&lt;p&gt;Once you have your record, you can go ahead and add it as a DNS Record. You may be able to do it on your own or, in some cases, the help of your hosting provider may be needed. &lt;/p&gt;

&lt;p&gt;In the domain registrar, you need to add the newly-created DMARC as a TXT record. We won’t go through any details here as the process differs for each provider. If you did everything correctly, you should receive your first reports within the next 24 hours.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three major DMARC myths busted
&lt;/h2&gt;

&lt;h3&gt;
  
  
  DMARC is set for security reasons only
&lt;/h3&gt;

&lt;p&gt;Partially true. DMARC indeed aims at preventing spoofing and phishing attacks. However, there is more to DMARC than that. DMARC enforcement policies and advanced reporting capabilities significantly improve legitimate mail delivery. They help build and increase brand trust and analytics. Thus, DMARC is quite a boost to any marketing campaign.&lt;/p&gt;

&lt;h3&gt;
  
  
  DMARC is just for domains that send mail
&lt;/h3&gt;

&lt;p&gt;Not true. The fact that your domain doesn’t send emails does not mean that it cannot be impersonated. In fact, the more famous your brand, company, organization, or personality is, the higher the attraction malagents have to spoof it. The receivers of malicious emails from “your” brand will mostly not be able to identify that your domain is not configured for sending mail. As a result, you’ll have to face many unpleasant consequences concerning your reputation and credibility.&lt;/p&gt;

&lt;h3&gt;
  
  
  Setting DMARC policy to “none” is enough for email security
&lt;/h3&gt;

&lt;p&gt;Wrong. Setting DMARC policy to ‘none’ is usually the first step to make sure that DMARC reporting and delivery is set right, but it doesn’t improve your security nor help protect your domain from being impersonated. Eventually, to make the best of DMARC security and marketing enhancement, you will need to arrive at a policy of (at least) quarantine or (best of all) reject at a pct=100. &lt;/p&gt;

&lt;p&gt;Moreover, should you decide to move with the times and adopt &lt;a href="https://mailtrap.io/blog/bimi-email/" rel="noopener noreferrer"&gt;BIMI&lt;/a&gt; as the latest brand authentication strategy, your DMARC record should be set to “reject” policy to be qualified for &lt;a href="https://www.entrust.com/digital-security/certificate-solutions/products/digital-certificates/verified-mark-certificates" rel="noopener noreferrer"&gt;BIMI certification&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why you should use DMARC?
&lt;/h2&gt;

&lt;p&gt;We said it many times, but it’s worth repeating it again – &lt;strong&gt;DMARC is the most effective way to protect yourself from spoofing.&lt;/strong&gt; Period. This alone should be a good enough reason to add the implementation of DMARC to your next sprint. &lt;/p&gt;

&lt;p&gt;HMRC &lt;a href="https://www.gov.uk/government/news/record-number-of-fake-hmrc-websites-deactivated" rel="noopener noreferrer"&gt;estimates&lt;/a&gt; that the number of phishing emails sent from their domain decreased by 500 million in just 1.5 years after the implementation of DMARC. &lt;/p&gt;

&lt;p&gt;There are two major DMARC benefits to consider:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cybercriminals are much more likely to give up on trying to spoof a domain if they see (properly configured) DMARC records in the domain’s DNS. The implementation of DMARC is not widespread yet so it won’t be hard to find something more worthwhile of their time.&lt;/li&gt;
&lt;li&gt;Receiving servers also know that emails coming from DMARC-secured domains are much more likely to be legit than those secured with just one of the other authentication methods (not to mention those without any security).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Final thoughts
&lt;/h2&gt;

&lt;p&gt;Email security should never be underestimated. The bigger you are, the more you have to lose if someone spoofs your accounts and tricks your customers into something you probably wouldn’t approve of. Given how easy it is to add each method and how much you gain by having them all properly set up, there’s little reason not to give them a try.&lt;/p&gt;

&lt;p&gt;What’s absolutely cool about DMARC is that you can start with a ‘none’ policy and observe what happens. This basically means that your emails will be going through the relevant checks on the receiving side, but if they fail, it won’t influence your deliverability. On top of that, you’ll receive tons of data via the DMARC reports so you can quickly identify if someone is trying to spoof your domain or if a problem lies on your side. Use this data to improve your processes, and you’ll see the results in no time.&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>How Shared and Dedicated IP Influence Email Deliverability</title>
      <dc:creator>Valeria</dc:creator>
      <pubDate>Mon, 21 Nov 2022 16:09:01 +0000</pubDate>
      <link>https://dev.to/valeria1789/how-shared-and-dedicated-ip-influence-email-deliverability-13cp</link>
      <guid>https://dev.to/valeria1789/how-shared-and-dedicated-ip-influence-email-deliverability-13cp</guid>
      <description>&lt;p&gt;There are a multitude of factors that affect &lt;a href="https://mailtrap.io/blog/email-deliverability/"&gt;email deliverability&lt;/a&gt;. The content you send plays its part. The quality of a mailing list is important. Steering clear from spam traps and blacklists can never be underestimated.&lt;/p&gt;

&lt;p&gt;One more thing that’s even more important than all of these combined is an impeccable reputation of the IP address you use for sending emails. Together with the quality of your domain, they form &lt;a href="https://mailtrap.io/blog/email-sender-reputation/"&gt;Email Sender Reputation&lt;/a&gt; – a key factor that’s used to determine whether an email should be allowed into an inbox, end up in a spam folder, or be discarded without a trace.&lt;/p&gt;

&lt;p&gt;When it comes to your sending IP, you have &lt;strong&gt;two options – a shared or a dedicated IP address&lt;/strong&gt;. Which one you should choose will depend on a lot of factors. Let’s explore the pros and cons of each approach.&lt;/p&gt;

&lt;h2&gt;
  
  
  Shared and dedicated IP – what are they?
&lt;/h2&gt;

&lt;p&gt;Each email sent on the internet originates from an IP address (publicly represented by a domain). Each email sending provider (ESP) gives a set of IPs to its users and, using these addresses, distributes emails on their behalf.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Shared IP&lt;/strong&gt; is a single email address that’s used by more than one sender. Frequently, there could be hundreds or thousands of senders using the very same address, especially on free email services such as Gmail. The performance and habits of each sender affect the performance of others in the same pool.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Dedicated IP&lt;/strong&gt; is an address that can only be used by a single sender (domain). The entire history of such an address is built, usually from the ground up, by a company using such a service. ESPs offer a dedicated IP as an additional purchase or a plan.&lt;/p&gt;

&lt;h2&gt;
  
  
  Benefits of using a dedicated IP
&lt;/h2&gt;

&lt;p&gt;Not sharing your IP with a bunch of anonymous senders sure sounds like a good idea. And rightly so – there are certain benefits of having a dedicated IP:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You’re responsible for your own fate.&lt;/strong&gt; You’re building your own sending history from the ground up. If you’re doing it well, your delivery rates will likely reflect it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You can more easily isolate any issues.&lt;/strong&gt; When sending from a shared IP, it’s close to impossible to investigate any deliverability issues because of the sheer number of factors. When sending from a private IP, you can pinpoint specific issues and, if possible, address them quickly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You can get whitelisted.&lt;/strong&gt; As a sole sender from a specific IP, you can request for your address to be whitelisted with some ISPs, such as Yahoo!, AOL or MSN and services such as SenderScore or Goodmail. Being whitelisted gives a boost to your deliverability and can help with particular providers. These services typically don’t admit shared IPs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Benefits of using a shared IP
&lt;/h2&gt;

&lt;p&gt;Sharing IP with other email senders also has its benefits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It’s more cost-effective.&lt;/strong&gt; Without exception, sharing IP with other senders is cheaper than having a dedicated service. It can even be free with a low volume and select providers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You can still enjoy a good reputation.&lt;/strong&gt; If you choose a reputable ESP, it’s not like you’re going to sit on the same IP with hundreds of spammers and phishers and suffer because of them. ESPs do their fair share of the work to ensure that at least a decent quality of emails is sent from their IPs. They monitor hard bounces or complain rates and actively filter out those not meeting their standards&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You benefit from the reputations of others.&lt;/strong&gt; If you’re just getting started, send a low or inconsistent volume, you would have deliverability issues. But, because you’re sharing IP with more experienced senders, your cumulative volume looks far less suspicious from the outside. As a result, even if you’ve never sent emails with an ESP of your choice, you’ll probably enjoy very decent delivery rates.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Shared vs. dedicated IP – which one should you choose?
&lt;/h2&gt;

&lt;p&gt;You can probably already see that both solutions are targeted at slightly different groups of senders. Let’s reiterate anyway who should consider either of these approaches.&lt;/p&gt;

&lt;h3&gt;
  
  
  When to go with a dedicated IP
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;When you send a high volume&lt;/strong&gt; (100,000+/month) on a regular basis. Sending such volume regularly will let you quickly establish a good reputation. You won’t have to look back at others and you won’t be clueless about what went wrong if numbers suddenly drop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When you send a lot of corporate emails and need to get whitelisted.&lt;/strong&gt; Many corporations require a sending IP to be whitelisted before a large volume of emails can be received from them. If this is the case for you, you don’t have much of a choice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When you can afford the costs.&lt;/strong&gt; A dedicated IP is far more expensive than a shared one. Often, you need to pay for setup along with a regular subscription. Prices vary.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When your shared IP is blacklisted&lt;/strong&gt; and you can’t change the address. Sometimes, especially on free services, an entire IP can easily get blacklisted when a single email hits a spam trap. If you find your IP address on several blacklists, you may consider a move to a dedicated address. Just make sure the volume is there.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When you’re sure you’ve got a quality list.&lt;/strong&gt; When sending from a dedicated IP, you’re much more vulnerable to spam reports, unsubscribes or low engagement. If you’re planning a move, clean your list first and make sure you only stick with the active subscribers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  When to go with a shared IP
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;When you don’t have a sufficient volume.&lt;/strong&gt; If you’re not hitting at least 50-100k every month, you would be unable to build a good sender reputation. As a result, your emails would have a below-par performance, without much hope for improvement.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When you don’t stick to a consistent schedule.&lt;/strong&gt; If you’re sending a big campaign every now and then and sit quietly for the rest of the time, such sudden spikes will look suspicious to ISPs. As a result, your emails may start bouncing out of nowhere. When you’re sending from the same IP as hundreds of others, these spikes are hardly noticeable anymore. ESPs also do their share of the work in gradually releasing large chunks of emails.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;When money is a factor.&lt;/strong&gt; If you’ve got better things to spend your money on, pick a good ESP and trust them to give you a good reputation in the package. Many ESPs offer very reasonable rates for their services. Need help picking a good &lt;a href="https://mailtrap.io/blog/transactional-email-services/"&gt;transactional email provider&lt;/a&gt;?&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Don’t forget to warm up your IP!
&lt;/h2&gt;

&lt;p&gt;If you decide to switch to a dedicated IP, make sure you incorporate a technique called &lt;strong&gt;IP warming&lt;/strong&gt;. It’s about sending, gradually, more and more volume with a newly set up IP. This way, you teach incoming servers to trust your emails so that, by the time you’re ready to send that large marketing campaign, there won’t be any surprises. &lt;/p&gt;

&lt;p&gt;If you were to send tens of thousands of emails on day one, you would probably see a lot of unexpected bounces. Incoming servers would have no record of earlier activity and would take such a sudden increase in volume with a big grain of salt. And, if they did, this would affect the performance of your future campaigns. Disaster.&lt;/p&gt;

&lt;p&gt;Luckily, many providers of &lt;a href="https://mailtrap.io/blog/transactional-emails/"&gt;transactional emails&lt;/a&gt;, such as SendGrid, Amazon SES or Sparkpost, now offer &lt;strong&gt;automated IP warmup&lt;/strong&gt; that takes care of the process for you.&lt;/p&gt;

&lt;p&gt;Hope this guide shed some light on the difference between shared and dedicated IP! &lt;a href="https://mailtrap.io/blog/shared-vs-dedicated-ip/"&gt;Follow the link&lt;/a&gt; to view the original post on Mailtrap blog.&lt;/p&gt;

</description>
      <category>email</category>
    </item>
    <item>
      <title>Intro to Transactional Emails</title>
      <dc:creator>Valeria</dc:creator>
      <pubDate>Fri, 18 Nov 2022 09:48:28 +0000</pubDate>
      <link>https://dev.to/valeria1789/intro-to-transactional-emails-5fim</link>
      <guid>https://dev.to/valeria1789/intro-to-transactional-emails-5fim</guid>
      <description>&lt;p&gt;What makes for a beautiful experience of using a platform or an app? Interactive interfaces? Mind-blowing designs? Interesting copy? Maybe. But what most users really care about is getting stuff done —  quickly buying a product, easily launching a website, smoothly implementing a feature. Since it’s impossible to follow every user on every step of their customer journey, companies incorporate transactional emails to automate the processes. Let’s explore what these emails are really about and how to set yours up. &lt;/p&gt;

&lt;h3&gt;
  
  
  What are transactional emails?
&lt;/h3&gt;

&lt;p&gt;Transactional emails are messages that you often receive when using a product, website, mobile app, etc. They are triggered when a transaction happens. In this context, “transaction” doesn’t only refer to the action of buying or selling an item (as any dictionary would suggest). It also refers to requesting a password reset, breaking a new record in your fitness app, or adding a new card to your account. It can be literally any action and each can trigger a reaction.&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s the difference between transactional and marketing emails?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Marketing emails&lt;/strong&gt; such as newsletters or product updates are typically sent in bulk with the same content delivered to all recipients at the same time. Their goal is usually to recommend a product or feature, or to get you interested in an upgrade of your subscription (or your 3-month-old sneakers). In other words —  to sell you something.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Transactional messages&lt;/strong&gt;, on the other hand, are one-off, event-driven notifications sent based on users’ activity on a platform. They can be properly personalized and usually arrive immediately after an event is triggered. &lt;/p&gt;

&lt;h2&gt;
  
  
  What’s included in transactional emails?
&lt;/h2&gt;

&lt;p&gt;When a transaction happens, an automated email can be sent to an address provided, usually at sign up. Such transactional emails can give you further guidelines or update you on your progress so far. They can be used to request a certain action from you or to inform you what just happened. They can also just welcome you to a platform, a mailing list or a new group, or bid you farewell when you decide to close an account. The opportunities are endless.&lt;/p&gt;

&lt;h2&gt;
  
  
  When should you use transactional emails?
&lt;/h2&gt;

&lt;p&gt;Here are some situations when a good ol’ triggered email would be appreciated:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A user requests a password reset and successfully does so&lt;/li&gt;
&lt;li&gt;A user signs up to a platform or joins a mailing list&lt;/li&gt;
&lt;li&gt;A double opt-in is in place&lt;/li&gt;
&lt;li&gt;A credit card has been added or removed&lt;/li&gt;
&lt;li&gt;A user was verified (or, quite the opposite, their verification failed)&lt;/li&gt;
&lt;li&gt;A user used a vital feature and needs to know what to do&lt;/li&gt;
&lt;li&gt;A purchase is made and a receipt needs to be sent&lt;/li&gt;
&lt;li&gt;A payment fails and an action is needed from a user&lt;/li&gt;
&lt;li&gt;A user’s trial period is about to expire and they need to be sold on a premium plan&lt;/li&gt;
&lt;li&gt;Terms of service or any other legal files are amended&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are just a few examples. Of course, transactional emails will look very different for a Tinder-like app than for a government taxation platform. The key is always to carefully go through the entire customer journey and figure out where such triggers should be placed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why are transactional emails important?
&lt;/h2&gt;

&lt;p&gt;First of all, &lt;strong&gt;many transactional emails are simply necessary&lt;/strong&gt; —  password resets, 2-step verifications, failed payment notifications. Users need to receive them to be able to move forward. Others are maybe not must-haves, but users, taught by their experience of using many other products, have come to expect them. These include order confirmations, credit card charge receipts, or just usual welcome emails sent moments after registration. Don’t send one, and people will think right away that something is wrong.&lt;/p&gt;

&lt;p&gt;For e-commerce businesses, transactional emails are also crucial for** improving sales of a product**. Companies often use these emails to chase clients who abandoned their carts or didn’t submit a payment on time. They even use casual order confirmations to upsell or at least pique the  buyer’s interest in a related product. Even a little effort in this field often goes a long way.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you send transactional emails?
&lt;/h2&gt;

&lt;p&gt;There are two approaches to building and sending transactional emails. Depending on your tasks, the volume of messages you need to send, and the infrastructure you already have, you can choose between marketing automation tools and dedicated transactional email sending providers. &lt;/p&gt;

&lt;p&gt;Transactional emails can be a part of &lt;strong&gt;automated marketing workflows&lt;/strong&gt;. When you need to send up to 2,000 —  3,000 transactional emails per month, it can be more efficient to set this process in your CRM or email marketing system. Such tools provide you with a set of templates and pre-built sequences. &lt;a href="https://www.hubspot.com/"&gt;HubSpot&lt;/a&gt; and &lt;a href="https://www.zoho.com/"&gt;Zoho&lt;/a&gt; are among the most recognized CRM systems, while &lt;a href="https://mailchimp.com/features/behavior-based-automations/"&gt;Mailchimp&lt;/a&gt;, &lt;a href="https://www.activecampaign.com/"&gt;ActiveCampaign&lt;/a&gt;, and &lt;a href="https://www.aweber.com/email-automation.htm"&gt;AWeber&lt;/a&gt; are renowned email automation tools. &lt;/p&gt;

&lt;p&gt;When you have a solid user database and various email notifications are a crucial part of their user experience, it makes sense to rely on an &lt;strong&gt;email sending provider&lt;/strong&gt; that can offer a scalable email infrastructure. This is a more tech-savvy method as you will very probably need to manage email triggers and set sequences on your app’s backend, but it provides you with greater flexibility. Reputable transactional email sending providers are &lt;a href="https://sendgrid.com/"&gt;SendGrid&lt;/a&gt;, &lt;a href="https://postmarkapp.com/"&gt;Postmark&lt;/a&gt;, &lt;a href="https://aws.amazon.com/ses/"&gt;Amazon SES&lt;/a&gt;, &lt;a href="https://www.smtp2go.com/"&gt;SMTP2GO&lt;/a&gt;, etc.&lt;/p&gt;

&lt;p&gt;You should understand what’s under the hood of your email sending process and be aware of the technical aspects that influence deliverability and the overall success of your email campaigns.&lt;/p&gt;

&lt;p&gt;First of all, let’s review what is technically needed for sending transactional emails.&lt;/p&gt;

&lt;h3&gt;
  
  
  Email sending provider
&lt;/h3&gt;

&lt;p&gt;Selecting a proper sending provider is half the success. Email deliverability depends both on the domain reputation (which is on your, the sender’s, side) and the IP reputation, which is on the sending provider’s side (in many cases).&lt;/p&gt;

&lt;p&gt;When you pick an email sending service, you will be using their shared IPs first (this is recommended if you are not a super high volume sender). They will handle the IP warmup and control its reputation. When a new sender enters the game, the recipient’s email clients are suspicious about it —  they can’t be sure that they can trust it. If you start by sending thousands of emails at once, they will very probably be treated as spam. It is the job of an email sending service to manage throttling and increase the volume sent per batch gradually. Read more about shared and dedicated IPs and their impact on email deliverability in &lt;a href="https://mailtrap.io/blog/shared-vs-dedicated-ip/"&gt;this article&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Proper functionality, understandable user interface and documentation, as well as the way of addressing issues also matter a lot. So, here is a list of criteria we recommend following when selecting an email sending provider:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Reliability&lt;/strong&gt;. Remember that building a solid infrastructure requires investments. Choose a known company. Learn about their servers, uptime, spam rules —  this can help you understand whether they are able to ensure proper deliverability. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clarity&lt;/strong&gt;. Everything should be clear and easy: simple pricing, understandable documentation, intuitive UI, as well as the ability to quickly contact their team and resolve any kind of issues.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Functionality&lt;/strong&gt;. There may be dozens of features that matter to you, but there is one common point that is important for everyone: reporting. This includes both the comprehensive analytics and system of alerts. It is crucial to be notified when something goes wrong in order to  be able to quickly find the reasons and fix them.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The vast majority of &lt;a href="https://mailtrap.io/blog/transactional-email-services/"&gt;transactional email services&lt;/a&gt; offer two ways of sending emails: SMTP and API. API provides a more flexible way of integration with your app or service and is considered a quicker and more robust method of sending emails. However, it requires advanced coding skills and is not as versatile as SMTP. If you need to dive deeper into this topic, read the &lt;a href="https://mailtrap.io/blog/smtp-or-web-api/"&gt;Do you need Email API or SMTP Relay?&lt;/a&gt; article on our blog. &lt;/p&gt;

&lt;h3&gt;
  
  
  Domain verification and authentication
&lt;/h3&gt;

&lt;p&gt;To explain the essentials of email sending, let’s start with an example. Let’s say, you have the Help Fries company that owns the helpfries.co domain and you need to start sending account &lt;a href="https://mailtrap.io/blog/confirmation-emails/"&gt;confirmation emails&lt;/a&gt; from the &lt;a href="mailto:hello@helpfries.co"&gt;hello@helpfries.co&lt;/a&gt; address.&lt;/p&gt;

&lt;p&gt;In this case, helpfries.co will be your sender’s domain, but the email sending process will be handled by an SMTP server provided by the email sending service. Let’s call it RockSMTP. &lt;/p&gt;

&lt;p&gt;To let RockSMTP send emails on your behalf, you need to prove that you own this domain (otherwise, spammers would be able to use any company’s website to send their spam messages and kill everyone’s reputation). This is called &lt;strong&gt;domain verification&lt;/strong&gt; and is performed by adding a CNAME record to your domain’s DNS records. It’s easy —  you just need to copy a special code provided by RockSMTP and paste it into your helpfries.co domain host’s DNS settings (this is where you purchased your domain from —  AWS, GoDaddy, etc.).&lt;/p&gt;

&lt;p&gt;Once this is done, you can start sending messages. However, it is strongly recommended to perform domain authentication in order to ensure good email deliverability. Domain authentication is also performed by adding a few other types of records to the DNS settings.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://mailtrap.io/blog/spf-records-explained/"&gt;&lt;strong&gt;SPF&lt;/strong&gt;&lt;/a&gt; record is a TXT file where the domain owner specifies the list of IP addresses that are authorized to send emails from this domain. (RockSMTP’s IPs are authorized to send emails from helpfries.co).&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://mailtrap.io/blog/dkim/"&gt;&lt;strong&gt;DKIM&lt;/strong&gt;&lt;/a&gt; is a CNAME record that helps ensure that email content is not changed during transit. It is based on the public-key cryptography principle and is implemented as a digital signature attached to an email.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://mailtrap.io/blog/dmarc-explained/"&gt;&lt;strong&gt;DMARC&lt;/strong&gt;&lt;/a&gt; is an additional layer of security and requires SPF or DKIM. It is a TXT record that sets DMARC rules. It “tells” the recipient’s email client what to do with emails that failed SPF and/or DKIM checks. The DMARC policy can also generate reports on these checks. It is not strictly required for sending emails, but it’s a reliable method of preventing spoofing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why you should test your emails and how to do this right
&lt;/h2&gt;

&lt;p&gt;Finally, let’s assume that you have chosen the tool, set up the right triggers, and configured the most effective emails to be sent at just the right time. Can you move on to other tasks now?&lt;/p&gt;

&lt;p&gt;By all means, don’t. Actually, don’t send any communication before you test it first. There are many things that can go wrong:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Password reset links won’t work&lt;/li&gt;
&lt;li&gt;Buyers won’t be able to download their invoice (or worse, they’ll download someone else’s!)&lt;/li&gt;
&lt;li&gt;You’ll send some hints for completing an important step days after a user reached this goal&lt;/li&gt;
&lt;li&gt;The formatting of an email will make it impossible to read or click-through&lt;/li&gt;
&lt;li&gt;You’ll let someone know that their card was declined when it was not&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And these are just a few of the many examples. We strongly recommend that you test each message before it’s delivered to a real person.&lt;/p&gt;

&lt;p&gt;You can do this with a fake SMTP server such as &lt;a href="https://mailtrap.io/"&gt;Mailtrap&lt;/a&gt;. It lets you send test emails without the risk of spamming real users. It also enables previewing each automated message as well as checking whether it’s likely to fall into spam folders. You can try Mailtrap for free and upgrade later if you need more functions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bonus: Best practices for using transactional emails
&lt;/h2&gt;

&lt;p&gt;It’s not enough to just set up and send a few emails every now and then. Those who really succeed in the field spend many hours trying to understand their users and optimizing their emails for this audience. We recommend that you do the same. Here are some tips for improving your transactional emails:&lt;/p&gt;

&lt;h3&gt;
  
  
  Think like a user —  focus on their needs
&lt;/h3&gt;

&lt;p&gt;Try to put yourself in the shoes of a user of your app or a visitor to your page. Don’t assume that something is obvious to them just because it is to you. You know the product inside out and have probably been through each screen 184 times. Maybe you even built it. Assume that visitors know &lt;a href="https://knowyourmeme.com/memes/you-know-nothing-jon-snow"&gt;even less than Jon Snow&lt;/a&gt;. Think where they may get lost, what could be hard to grasp for the target group, and fix it with the proper transactional emails. Focus on what users want to achieve, what their goals are, and make it easy for them to reach them.&lt;/p&gt;

&lt;h3&gt;
  
  
  Don’t send too many emails
&lt;/h3&gt;

&lt;p&gt;Resist the temptation to set up tons of triggers on the way. Think where they’re essential and where they can make a lot of difference. Start small. If you observe a lot of support tickets about a certain step or a low conversion on some step of a funnel, think about whether adding some automated emails may help fix the problem. Adding an enormous number of emails will quickly flood users’ inboxes and cause them to unsubscribe (or worse, mark you as a spammer).&lt;/p&gt;

&lt;h3&gt;
  
  
  Don’t solve problems with emails
&lt;/h3&gt;

&lt;p&gt;Once you get the first results of your campaigns, you may feel the urge to address all issues this way. Don’t fall into this trap. If users successfully traverse several steps but then nearly all drop on the following one, sending an automatic follow-up email may not fix the problem. Analyze what the reason for this sudden drop could be. Maybe some bugs are preventing users from completing the process? Maybe something is counter-intuitive? Or maybe they were looking for something completely different and ended up in the wrong funnel? Even the best written email won’t fix such issues and implementing one will only give you false data about the success of your other campaigns.&lt;/p&gt;

&lt;h3&gt;
  
  
  Focus on timing
&lt;/h3&gt;

&lt;p&gt;Figure out the best time to send a particular communication. Order confirmations should be sent right away, that’s a no-brainer. Should an invoice be generated simultaneously or maybe right after an order is delivered? When should you remind visitors about an abandoned cart? In an hour, a day, or a week? How much time should you give a user to complete some step on a platform before you give them further tips? Or maybe you shouldn’t bother them at all? There are no “right” answers to these questions as every website, app, and client base is different. You’ll need to figure out the answers on your own.&lt;/p&gt;

&lt;h3&gt;
  
  
  Have the right subject line
&lt;/h3&gt;

&lt;p&gt;The topic of your email is the first thing that recipients will see. As a result, it will play a key role in their decision on whether to open it or not, assuming they spot it in the first place. Don’t give them a chance to miss important information. Make your email subject concise, straightforward, and recognizable. Compare “Payment Help Fries” to “Action required: you payment for Help Fries failed”. &lt;/p&gt;

&lt;h3&gt;
  
  
  Keep it short and focused
&lt;/h3&gt;

&lt;p&gt;Keep your email short and straight to the point. This way, you’ll increase the chance that someone will read through all of it. If the hint you’re sending requires a longer explanation, write a blog post and link to it in your email. Your reader has a very limited attention span —  use this short time wisely.&lt;/p&gt;

&lt;h3&gt;
  
  
  Write an engaging copy
&lt;/h3&gt;

&lt;p&gt;Make your copy interesting, even if you’re writing something boring. Try to build an emotional connection with readers, encourage them to ask questions, share what your company has been up to. Make it a pleasure to read your emails and users will be looking forward to the next ones. Some may even share the best ones in articles like this.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ozTbnITv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w57bjk6ycpdtikiocuiq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ozTbnITv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w57bjk6ycpdtikiocuiq.png" alt="Image description" width="680" height="929"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Properly format each message
&lt;/h3&gt;

&lt;p&gt;The copy is the most important bit, but it needs to be properly formatted too. Make sure your messages look good on different screen sizes and especially on mobile. Use your branding materials in every email, even the dull ones like password reset instructions. Readers will learn to recognize your brand, which could go a long way.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9zf30DB7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mocvgf6dec7o7qidr806.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9zf30DB7--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mocvgf6dec7o7qidr806.png" alt="Image description" width="680" height="1273"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Send from a recognized name —  don’t use no-reply addresses
&lt;/h3&gt;

&lt;p&gt;Send emails as “Kate from Mailtrap” instead of vague “Mailtrap marketing team” or worse, “&lt;a href="mailto:no-reply@mailtrap.io"&gt;no-reply@mailtrap.io&lt;/a&gt;”. Users are more likely to open an email if they know (or believe) that they’re communicating with a real person. Sign an email with a real name and maybe even add a picture. Encourage them to write back to you with any questions or feedback. Even if such replies don’t go into your individual inbox but instead to support folders, many will appreciate such an opportunity. It’s way easier to respond to an email than it is to find a contact form somewhere on your website.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vJ82T6Go--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jyezjl6qt8p5ssdilvm6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vJ82T6Go--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jyezjl6qt8p5ssdilvm6.png" alt="Image description" width="680" height="1298"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  A/B test, over and over again
&lt;/h3&gt;

&lt;p&gt;Once you implement all the above tips, test whether they really work for your business. It may be that some won’t apply. It’s also likely you won’t be able to figure out at the first attempt where users could use some help or how to properly stalk those who abandoned their cart. Send different emails to different groups and see how they interact with them. Are there more opens or clicks in one of the groups? Does something work better for improving the conversion or decreasing churn? You won’t know until you test it.&lt;/p&gt;

&lt;h3&gt;
  
  
  Add Google’s Email Markup to your emails
&lt;/h3&gt;

&lt;p&gt;Google lets you &lt;a href="https://developers.google.com/gmail/markup/overview#gmail_actions"&gt;add Email Markup&lt;/a&gt; to your messages to add an action prompt to your email. As a result, this lets users take an action without even opening the message and also improves the conversion. This way, users can RSVP to an event, confirm a subscription, or quickly look up the order or shipping details. Of course, it won’t work for many use cases, but if it could work for you – consider giving it a try.&lt;/p&gt;

&lt;h3&gt;
  
  
  Ensure your emails are delivered
&lt;/h3&gt;

&lt;p&gt;Finally, all of the above tips will be in vain if your email doesn’t reach the recipient’s inbox at all. And this can happen even for the most important emails such as order confirmations or password reset instructions. We’ve covered tips on improving deliverability in &lt;a href="https://mailtrap.io/blog/email-deliverability/"&gt;another article&lt;/a&gt;. Emails going to spam folders are also far from desired – read about how to avoid such a fate &lt;a href="https://mailtrap.io/blog/avoid-spam-filters/"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final words
&lt;/h2&gt;

&lt;p&gt;Transactional emails are a huge topic. In this guide, we’ve given an overview of all the important aspects you should know about when working with this type of email. Each of them deserves a separate article —  and we have a bunch of them on our blog —  so it wouldn’t ever have been possible to squeeze all the information into one article. We hope that after reading this post you have the whole picture of transactional emails and know what specific guidelines to look for and where to find them.&lt;/p&gt;

&lt;p&gt;Hope this introduction was helpful! Check out the original &lt;a href="https://mailtrap.io/blog/transactional-emails/"&gt;mailtrap.io blog post&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>email</category>
      <category>testing</category>
    </item>
    <item>
      <title>Proven Ways to Send HTML Email with Gmail</title>
      <dc:creator>Valeria</dc:creator>
      <pubDate>Wed, 02 Nov 2022 14:53:47 +0000</pubDate>
      <link>https://dev.to/valeria1789/proven-ways-to-send-html-email-with-gmail-4p1f</link>
      <guid>https://dev.to/valeria1789/proven-ways-to-send-html-email-with-gmail-4p1f</guid>
      <description>&lt;p&gt;Gmail has over 1.8 billion accounts worldwide and the number keeps growing. You’re probably one of them and so am I, my team, and probably the majority of Mailtrap users too. Gmail has gone through a lot of changes since it was first tested in 2004. One of them was about simplifying the compose window and removing the good old HTML editor. It doesn’t mean, however, that HTML is no longer supported by Google – it’s just a bit trickier to send HTML email from Gmail. Let’s see how it works.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why import HTML into Gmail in the first place?
&lt;/h2&gt;

&lt;p&gt;Gmail offers a WYSIWYG editor (What You See Is What You Get) by default, which is perfectly sufficient for nearly any communication. You can choose from a number of fonts, colours and sizes, align a copy, add bullet points or indentations, and even insert images or emojis. &lt;/p&gt;

&lt;p&gt;Things get tough, though, when you need to use your company branding or other more complex formatting, not available in the default editor. Inserting a logo or banner is doable. You can hire a professional, or there is an easier and more affordable way – to use one of the logo maker tools available. For instance, you can check the functionality and features of &lt;a href="https://www.designhill.com/tools/logo-maker"&gt;Designhill Logo Maker&lt;/a&gt;, &lt;a href="https://zyro.com/logo-maker"&gt;Zyro&lt;/a&gt;, or any other you would prefer.&lt;/p&gt;

&lt;p&gt;But can you align those visuals properly with a text and make sure they look fine on any screen size? Probably not from the client itself.&lt;/p&gt;

&lt;p&gt;In such situations, you need to rely on external tools or write your own HTML and insert it into a compose window. &lt;/p&gt;

&lt;h2&gt;
  
  
  Importing HTML into Gmail
&lt;/h2&gt;

&lt;p&gt;If you were to simply copy the HTML code and paste it into the Gmail’s compose window, the receiver would only receive the very same raw HTML. In other words, Gmail wouldn’t render it in any way. If you’re exchanging emails with a fellow web developer, they may actually appreciate such an innovative way of communication. Most people won’t though. That’s why you need to use a simple workaround to insert HTML.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
Outside of Gmail, compose HTML code and save it as an .html file on your drive. Make sure your editor saves files as plain text, without any additional formatting. It also cannot add .txt or any other extensions to the file name, otherwise the code won’t be rendered properly. Mac’s TextEdit, for example, needs &lt;a href="https://www.lifewire.com/writing-html-with-textedit-3469897"&gt;a few tweaks&lt;/a&gt; to work with HTML as expected. Here’s our sample, rather poor quality code:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yhQv2Rqt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ov6oo7mlwtpxx3rxvq7i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yhQv2Rqt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ov6oo7mlwtpxx3rxvq7i.png" alt="examplecode" width="700" height="437"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
Right-click on the file and open it with a browser of your choice. It should render as expected. If you see raw HTML, double check if the file was saved properly and your editor relies on plain text.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---dc5sLi5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tx7xq9uc5hd3dgni6lx8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---dc5sLi5--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tx7xq9uc5hd3dgni6lx8.png" alt="image2" width="476" height="883"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
Copy the entire content of a page, either with Ctrl+A (Windows) / Cmd+A (Mac) or just use a mouse or a trackpad. Then, insert it into your Gmail’s compose window and send!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PY6EG2Rv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a99aejgzwah8tstgky7h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PY6EG2Rv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/a99aejgzwah8tstgky7h.png" alt="email" width="700" height="573"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The email should arrive in exactly the same shape as it was last seen leaving your inbox.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to pay attention to when writing an HTML email
&lt;/h2&gt;

&lt;p&gt;Although HTML is a really simple framework, there are several features/limitations of Gmail that you need to be aware of. Here are the main ones:&lt;/p&gt;

&lt;h4&gt;
  
  
  Images need to be hosted online and available publicly
&lt;/h4&gt;

&lt;p&gt;Instead, images need to be uploaded elsewhere on the Internet, and referenced with a link in the code.&lt;/p&gt;

&lt;p&gt;If possible, store images on your own server or use Google Drive (or other similar service). When uploading to the latter, make sure the link is public, not private (trying to access it in the incognito mode should do the job). When uploading to popular image sharing services such as Imgur or Tinypic, make sure you obtain a direct link to the image, not to a folder where it’s stored. &lt;/p&gt;

&lt;h4&gt;
  
  
  External style sheets won’t work
&lt;/h4&gt;

&lt;p&gt;Gmail doesn’t offer support for external styles. You can, however, utilize embedded CSS as well as Inline styles. A good &lt;a href="https://mailtrap.io/blog/best-email-frameworks/"&gt;responsive email&lt;/a&gt; typically consists of a fair share of Inline CSS, used mainly to maintain proper structure and styling of a message. Embedded CSS is used to add &lt;a href="https://templates.mailchimp.com/development/css/reset-styles/"&gt;CSS Reset Styles&lt;/a&gt; and rules required to make an email responsive.&lt;/p&gt;

&lt;h4&gt;
  
  
  You can’t use web fonts
&lt;/h4&gt;

&lt;p&gt;Gmail doesn’t let you utilize any web fonts and there’s no way to import them into your HTML. You’ll need to use one of the available fonts in your emails.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5k6NKvnp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sf4lw186h7mr8kkn37ch.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5k6NKvnp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sf4lw186h7mr8kkn37ch.png" alt="fonts" width="700" height="487"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Utilizing HTML editors
&lt;/h2&gt;

&lt;p&gt;Is it really necessary to write an entire HTML code from scratch or to test how it looks on different screens? No. There’s an abundance of free and paid email editors available both online and for download.&lt;/p&gt;

&lt;p&gt;More sophisticated tools come with dozens of templates perfect for any occasion. You pick the right one, adjust it to your needs, and preview and download the entire HTML code. Then you follow the instructions above to send it with Gmail or use any other client or email service provider (ESP) like &lt;a href="https://esputnik.com/en"&gt;eSputnik&lt;/a&gt;, GetResponse etc. Most of these tools run on a freemium model, letting you try some basic templates for free and charging you for more advanced ones.&lt;/p&gt;

&lt;p&gt;Some of these platforms also offer responsive HTML email templates that will look great whether a receiver reads them on a laptop, 292-inch TV or a smartphone. If the budget allows, we strongly recommend picking one of responsive templates, as well as trying out those design, logo, and &lt;a href="https://www.bannersnack.com/make/banner/"&gt;banner maker&lt;/a&gt; tools that we mentioned at the beginning. It’s a good way to ensure a better user experience.&lt;/p&gt;

&lt;p&gt;By the way, we’ve recently covered the 10 best HTML email editors on our blog to help make the choice easier. Check them out &lt;a href="https://mailtrap.io/blog/best-email-builders/"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;There are also many basic tools that will simply preview whatever you insert. They’re more suitable if you’re writing a new code or reusing an old one and need a quick way to preview. These tools are typically free and sometimes don’t even require a sign up.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to test your HTML emails
&lt;/h2&gt;

&lt;p&gt;By now, your email is likely composed and ready to be sent. Are you done, though? We think not. Before you press the ‘send’ button, you might want to test each template in several clients and on several screen sizes. You might be surprised how some platforms will render your carefully-crafted message.&lt;/p&gt;

&lt;p&gt;You could send such emails to various email accounts of yours or to your coworkers/friends. Alternatively, you could automate this process by incorporating a tool like Mailtrap. One of its functions is previewing how an email would look in a browser. You can resize the screen and preview your message as though it were delivered to a mobile phone or tablet. You’ll immediately spot if something renders incorrectly. Even if everything looks fine, Mailtrap checks the code behind an email and lets you know right away which elements can cause a problem and which email client will most likely be affected.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--SY8qvDsi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mp4klaxvy6d3ynmw964a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--SY8qvDsi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mp4klaxvy6d3ynmw964a.png" alt="testing" width="700" height="288"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Finally, you can check each message against common spam filters and improve it based on the provided suggestions. Mailtrap also checks your domain against the most common blacklists to make sure there won’t be any issues with deliverability.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final words
&lt;/h2&gt;

&lt;p&gt;As you can see, sending HTML emails via Gmail isn’t difficult at all. The only tricky part can be displaying them properly in the vast array of browsers and email clients. However, with a bit of practice and the appropriate toolset, it shouldn’t be a problem.&lt;/p&gt;

&lt;p&gt;Hope this was helpful! Check out the original article on &lt;a href="https://mailtrap.io/blog/html-email-gmail/"&gt;how to send HTML email in Gmail&lt;/a&gt; at Mailtrap blog.&lt;/p&gt;

</description>
      <category>html</category>
      <category>gmail</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
