<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>email Archives - WardNet</title>
	<atom:link href="https://www.wardnet.co.uk/category/email/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wardnet.co.uk/category/email/</link>
	<description>Infrastructure, ERP and General Technology Blog</description>
	<lastBuildDate>Sun, 11 Jul 2021 11:31:08 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2026/01/wp-1767387074640.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>email Archives - WardNet</title>
	<link>https://www.wardnet.co.uk/category/email/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">63479081</site>	<item>
		<title>5 Useful SendGrid Tips</title>
		<link>https://www.wardnet.co.uk/5-useful-sendgrid-tips/</link>
		
		<dc:creator><![CDATA[Jonathan Ward]]></dc:creator>
		<pubDate>Sat, 09 May 2020 14:59:24 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Azure]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[SendGrid]]></category>
		<guid isPermaLink="false">https://www.wardnet.co.uk/?p=607</guid>

					<description><![CDATA[<p>I recently started working on a concept of a message list subscription service, to be integrated directly into new product</p>
<p><a href="https://www.wardnet.co.uk/5-useful-sendgrid-tips/">5 Useful SendGrid Tips</a></p>
]]></description>
										<content:encoded><![CDATA[
<p>I recently started working on a concept of a message list subscription service, to be integrated directly into new product features so that people can add themselves to the list to receive information of updates on specific features. This led me down the path of using Azure Storage and SendGrid, building 2 raw prototype apps (in WinForms at this early stage) to achieve both the subscription and the sending out of data to the subscribers. Writing this on.NetFramework 4.8 with C# in a fairly native way has given me a great way to investigate and utilise the SendGrid platform to send emails to multiple subscribers. </p>



<p>I wanted to share my findings, rather than my code at this stage, and here are my Top 5 SendGrid tips:</p>



<ol class="wp-block-list"><li>Do review Microsoft&#8217;s guide on how to get started with SendGrid via Azure, this simple article gives you a great base on how to set up the back-end and start writing C# around it: <a rel="noreferrer noopener" href="https://docs.microsoft.com/en-us/azure/sendgrid-dotnet-how-to-send-email" target="_blank">https://docs.microsoft.com/en-us/azure/sendgrid-dotnet-how-to-send-email</a></li><li>Use Unsubscribe groups &#8211; these allow you to stay within GDPR in Europe, appending an Unsubscribe and Manage Preferences link to the bottom of the emails that are sent. i.e. </li></ol>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" decoding="async" width="332" height="47" data-attachment-id="608" data-permalink="https://www.wardnet.co.uk/5-useful-sendgrid-tips/image/" data-orig-file="https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2020/05/image.png?fit=332%2C47&amp;ssl=1" data-orig-size="332,47" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2020/05/image.png?fit=300%2C42&amp;ssl=1" data-large-file="https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2020/05/image.png?fit=332%2C47&amp;ssl=1" src="https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2020/05/image.png?resize=332%2C47&#038;ssl=1" alt="" class="wp-image-608" srcset="https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2020/05/image.png?w=332&amp;ssl=1 332w, https://i0.wp.com/www.wardnet.co.uk/wp-content/uploads/2020/05/image.png?resize=300%2C42&amp;ssl=1 300w" sizes="(max-width: 332px) 100vw, 332px" /><figcaption>Unsubscribe preferences from SendGrid</figcaption></figure></div>



<ol class="wp-block-list" start="3"><li>Write both plain text and HTML content for your email, I ended up creating an HTML builder so I could convert Email addresses to <code><code data-enlighter-language="html" class="EnlighterJSRAW">&lt;a href="mailto:EmailAddress"></code></code> and any HTTP(s):// links to <code><code data-enlighter-language="html" class="EnlighterJSRAW">&lt;a href:"http://link"></code></code> this was a great experiment with regular expressions. Note, I found that not all Email clients auto-convert, e.g. Outlook will convert an Email address but not a URL. I was creating my body text in a Rich Text Box, so it was just one big string!</li><li>Look into Personalisations (<a href="https://sendgrid.com/docs/for-developers/sending-email/personalizations/" target="_blank" rel="noreferrer noopener">https://sendgrid.com/docs/for-developers/sending-email/personalizations/</a>) these are crucial if you want to customise your output (the emails themselves). I created variables to use in subject and body lines so I could pass in <code><code data-enlighter-language="csharp" class="EnlighterJSRAW">{customer}</code></code> and<code> </code><code data-enlighter-language="csharp" class="EnlighterJSRAW">{product}</code>. SendGrid has a substitution capability which comes as part of personalisation. I&#8217;ll share a snippet of code here, as I found a solution on StackOverflow (<a href="https://stackoverflow.com/a/53292550" target="_blank" rel="noreferrer noopener">https://stackoverflow.com/a/53292550</a>) but it needed a slight tweak, changing the <code><code data-enlighter-language="csharp" class="EnlighterJSRAW">Tos.Add</code></code> to a <code><code data-enlighter-language="csharp" class="EnlighterJSRAW">msg.AddTo</code></code> as the To: Email address needs to be a part of the personalisation, I wasn&#8217;t sure if this was to do with API changes or not! Another tip, if you want the subject to be the same, without substitutions you can use the <code><code data-enlighter-language="csharp" class="EnlighterJSRAW">SetGlobalSubject</code></code> method</li></ol>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%">
<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow">
<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%">
<pre class="wp-block-code"><code lang="csharp" class="language-csharp line-numbers"><code data-enlighter-language="csharp" class="EnlighterJSRAW">var personalizationIndex = 0;
                foreach (var subscriber in subscriberEntities)
                {
                    msg.AddTo(new EmailAddress(subscriber.RowKey, subscriber.Name), personalizationIndex);
                    msg.AddSubstitution("{product}", product.Description, personalizationIndex);
                    msg.AddSubstitution("{customer}", subscriber.Name, personalizationIndex);
                    personalizationIndex++;
                    
                }</code></code></pre>



<p></p>
</div>
</div>
</div></div>
</div>
</div>
</div>
</div>



<ol class="wp-block-list" start="5"><li>Create a test email method, that uses the same logic as your core one, but only sends to one email address. You don&#8217;t want to be sending bulk emails out without checking them first!</li></ol>



<p>I hope this new style of thread has been an interesting read, I hope to do more very soon!</p>
<p><a href="https://www.wardnet.co.uk/5-useful-sendgrid-tips/">5 Useful SendGrid Tips</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">607</post-id>	</item>
		<item>
		<title>Spam Blocking &#038; Operation Gemstone</title>
		<link>https://www.wardnet.co.uk/spam-blocking-operation-gemstone/</link>
		
		<dc:creator><![CDATA[Jonathan Ward]]></dc:creator>
		<pubDate>Mon, 25 Nov 2013 12:07:17 +0000</pubDate>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[MSExchange]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Operation Gemstone]]></category>
		<category><![CDATA[Return Path]]></category>
		<category><![CDATA[servers]]></category>
		<guid isPermaLink="false">http://wardnet.co.uk/?p=290</guid>

					<description><![CDATA[<p>Those of you who manage email servers at a similar level to myself will have noticed a huge increase in</p>
<p><a href="https://www.wardnet.co.uk/spam-blocking-operation-gemstone/">Spam Blocking &#038; Operation Gemstone</a></p>
]]></description>
										<content:encoded><![CDATA[<p>Those of you who manage email servers at a similar level to myself will have noticed a huge increase in malware-infected spam during 2013.</p>
<p>In fact it has got to such a level that it was becoming unmanageable without a recognised Spam filtering application. And with no plans to venture into the realms of SpamFighter, GFI MailEssentials, Baracudda or others I decided it was time to go all on an all out spam war.</p>
<p>Part 1 started earlier this year with a number of emails being received relating to Stock Market purchases and &#8220;upcoming targets&#8221;, these were obviously spam, and so started &#8220;Operation Gemstone&#8221;, so-called due to the first set being related to a Gemstone Mining Company. This was becoming a nuisance for all staff and so we started blocking emails by familiar key words, i.e once we had 3 or 4 of a similar nature we were able to deduce a keyword that we could block and that wouldn&#8217;t block (too much) valid email. We started with a transport rule &#8220;Gemstone&#8221; and we now have 5 of these! The Gemstone rule set blocks key words found in either the subject or body, it excludes emails sent to the boss (who manages his own spam) or from an internal address, and rather than deleting, it redirects the message to a holding account as a quarantine where we can forward on false-positives if necessary.</p>
<p>Part 2 came about after analysing hundreds and thousands of spam emails collected over a number of months and actually looking at the message headers to find more similarities between emails of a seemingly different subject matter. Naturally, the first thought was the source IP, and in some cases we found multiple occurrences of the same IPs, however on the whole they were different every time. (Where we found similar entries we blocked them at firewall level) So the one area we found similarities was in the &#8220;Return-Path&#8221; message header, with a huge number coming from addresses pretending to be American Express related (aexp.com etc.) so then came our second rule set &#8220;Return Path Block&#8221;, this again was a transport rule with a redirect to a holding account, the difference this time was to set the rule to read the message headers and look for a &#8220;Return-Path&#8221; containing various phrases. This rule was so successful that we could turn off Gemstone&#8217;s 1-3 meaning less load on the Exchange Transport servers.</p>
<p>But then, another realisation hit, as the months have gone on this year, the spam was becoming more and more convincing, apart from one thing&#8230; Zip attachments! On instructions from above I blocked all incoming Zip attachments (by redirect, again). Since 9.05 Monday 18th November 2013 (7 Days) 1208 emails have contained zip files and have been redirected to the quarantine account. Of these only 4 have been genuine files meant for our staff! so our &#8220;Zippy&#8221; rule sits at the top of our transport rule set and does its job admirably.</p>
<p>Sure these methods may seem a little archaic, but I see a couple of advantages:</p>
<ul>
<li>By redirecting rather than deleting at source it gives a chance to filter through emails to ensure nothing is missed</li>
<li>By using built in Exchange rules instead of a 3rd party tool adds less overall load to the Exchange servers (from our experience)</li>
<li>We can add new keywords, return-path sources or attachment types instantly</li>
<li>The transport rules allow us to TAG the emails, by pre-pending with for example: &lt;BLOCKED &#8211; Gemstone Rule&gt; or &lt;.zip file attachment&gt; allowing us to filter emails within Outlook</li>
</ul>
<p>If anyone has any comments about all this I would love to see them, please feel free to contact me.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="https://www.wardnet.co.uk/spam-blocking-operation-gemstone/">Spam Blocking &#038; Operation Gemstone</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">290</post-id>	</item>
		<item>
		<title>POP3 vs. IMAP</title>
		<link>https://www.wardnet.co.uk/pop3-vs-imap/</link>
		
		<dc:creator><![CDATA[Jonathan Ward]]></dc:creator>
		<pubDate>Mon, 12 Nov 2012 10:39:41 +0000</pubDate>
				<category><![CDATA[email]]></category>
		<category><![CDATA[imap guide]]></category>
		<category><![CDATA[offering advice]]></category>
		<guid isPermaLink="false">http://wardnet.co.uk/?p=127</guid>

					<description><![CDATA[<p>I have just come across this link, which will prove very helpful in offering advice to our customers. Ironically its</p>
<p><a href="https://www.wardnet.co.uk/pop3-vs-imap/">POP3 vs. IMAP</a></p>
]]></description>
										<content:encoded><![CDATA[<p>I have just come across this link, which will prove very helpful in offering advice to our customers. Ironically its from the company we own a lot of our domains through!</p>
<p><a title="POP3 vs. IMAP" href="http://www.domainmonster.com/editorials/pop3-imap-guide/">http://www.domainmonster.com/editorials/pop3-imap-guide/</a></p>
<p><a href="https://www.wardnet.co.uk/pop3-vs-imap/">POP3 vs. IMAP</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">127</post-id>	</item>
		<item>
		<title>Windows Server Backup with DAG</title>
		<link>https://www.wardnet.co.uk/windows-server-backup-with-dag/</link>
		
		<dc:creator><![CDATA[Jonathan Ward]]></dc:creator>
		<pubDate>Wed, 11 Jan 2012 19:25:12 +0000</pubDate>
				<category><![CDATA[email]]></category>
		<category><![CDATA[Microsoft Exchange Replication service]]></category>
		<category><![CDATA[Windows Server Backup]]></category>
		<guid isPermaLink="false">http://wardnet.co.uk/?p=41</guid>

					<description><![CDATA[<p>Following on from the Exchange 2010 issues I&#8217;ve been having, my last hurdle has been backups. I couldn&#8217;t figure out</p>
<p><a href="https://www.wardnet.co.uk/windows-server-backup-with-dag/">Windows Server Backup with DAG</a></p>
]]></description>
										<content:encoded><![CDATA[<p>Following on from the Exchange 2010 issues I&#8217;ve been having, my last hurdle has been backups. I couldn&#8217;t figure out for the life of me why the daily backups of my Exchange installations were failing. So I followed a couple of YouTube videos and made minor changes. This still didn&#8217;t work, so after a day of not thinking about it, and clearing my mind I finally found this solution, which worked a treat:</p>
<p>Using Windows Server Backup on Database Availability Group Members</p>
<p>If a server hosting the data being backed up is a member of a database availability group (DAG) and hosts both active and passive database copies, you must disable the Microsoft Exchange Replication service VSS writer. If the Microsoft Exchange Replication service VSS writer is enabled, the backup operation will fail.</p>
<p>To disable the Microsoft Exchange Replication service VSS writer, perform the following steps:</p>
<p>Log on to the server by using an account that has local administrator access, and then start Registry Editor (regedit).<br />
Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\ExchangeServer\v14\Replay\Parameters.<br />
Add a new DWORD value named EnableVSSWriter, and set its value to 0.<br />
Exit Registry Editor and then restart the Microsoft Exchange Replication service.</p>
<p>This solution is found here: http://technet.microsoft.com/en-us/library/dd876851.aspx</p>
<p><a href="https://www.wardnet.co.uk/windows-server-backup-with-dag/">Windows Server Backup with DAG</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">41</post-id>	</item>
		<item>
		<title>Exchange 2010 Failure</title>
		<link>https://www.wardnet.co.uk/exchange-2010-failure/</link>
		
		<dc:creator><![CDATA[Jonathan Ward]]></dc:creator>
		<pubDate>Tue, 03 Jan 2012 14:08:33 +0000</pubDate>
				<category><![CDATA[email]]></category>
		<guid isPermaLink="false">http://wardnet.co.uk/?p=32</guid>

					<description><![CDATA[<p>Bugger! It seems that after I&#8217;ve finally built a redundant Exchange 2010 cluster with DAG that I needed a reboot</p>
<p><a href="https://www.wardnet.co.uk/exchange-2010-failure/">Exchange 2010 Failure</a></p>
]]></description>
										<content:encoded><![CDATA[<p>Bugger!</p>
<p>It seems that after I&#8217;ve finally built a redundant Exchange 2010 cluster with DAG that I needed a reboot on one of the servers (due to some other reconfiguration) &#8211; unfortunately I had forgotten the server hadn&#8217;t been rebooted since before AVG Business Edition was installed, oops, this appears to interfere with the WinRM service which just wouldn&#8217;t work, this meant I couldn&#8217;t use anything powered by powershell through the IIS &#8211; in other words I had no Exchange Management Console (EMC) or shell commands. The problem wasn&#8217;t so much emails as the DAG implementation ensured my other server took care of that with the passive database copy becoming active at the server fail, it was my primary public folder database which had the most problems, it just wouldn&#8217;t mount, so a quick scheduled reboot (during the lunch hour) and within 20 minutes (after 2 1/2 hours diagnosis and testing) I had the public folders back, this was also partially affected by the Replication service on the healthy server being stuck in a &#8220;stopping&#8221; state, I had to kill the process in task manager to fix this and manually start it.</p>
<p>So, what have I learnt today?<br />
Exchange works, now leave it alone!</p>
<p>P.S</p>
<p>somewhere along the line this reboot etc enabled SSL on the pop3 service, this affected a few of our remote users, but I managed to fix that quickly enough once I knew the issue!</p>
<p><a href="https://www.wardnet.co.uk/exchange-2010-failure/">Exchange 2010 Failure</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">32</post-id>	</item>
		<item>
		<title>Exchange 2010 SP2</title>
		<link>https://www.wardnet.co.uk/exchange-2010-sp2/</link>
		
		<dc:creator><![CDATA[Jonathan Ward]]></dc:creator>
		<pubDate>Tue, 06 Dec 2011 08:30:27 +0000</pubDate>
				<category><![CDATA[email]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[SP1]]></category>
		<category><![CDATA[SP2]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[upgrade]]></category>
		<guid isPermaLink="false">http://wardnet.co.uk/?p=18</guid>

					<description><![CDATA[<p>Microsoft have just released Exchange 2010 SP2 &#8211; a little over a month since I built both the new email</p>
<p><a href="https://www.wardnet.co.uk/exchange-2010-sp2/">Exchange 2010 SP2</a></p>
]]></description>
										<content:encoded><![CDATA[<p>Microsoft have just released Exchange 2010 SP2 &#8211; a little over a month since I built both the new email servers on SP1 &#8211; how annoying is that! &#8211; anyway, after reading the new features list provided here: <a title="Exchange 2010 SP2 via The Register" href="http://www.theregister.co.uk/2011/12/05/redmond_exchange_2010_sp2/" target="_blank">http://www.theregister.co.uk/2011/12/05/redmond_exchange_2010_sp2/</a> I am not too fussed, and will not be planning an upgrade anytime soon, maybe 6-12 months time I think&#8230;</p>
<p><a href="https://www.wardnet.co.uk/exchange-2010-sp2/">Exchange 2010 SP2</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">18</post-id>	</item>
	</channel>
</rss>
