<?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>Shawson&#039;s Code Blog &#187; E-Commerce</title>
	<atom:link href="http://www.shawson.co.uk/codeblog/category/e-commerce/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shawson.co.uk/codeblog</link>
	<description>development notes for my failing memory</description>
	<lastBuildDate>Mon, 26 Jul 2010 19:08:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Whats the definitive maximum size of an email address?</title>
		<link>http://www.shawson.co.uk/codeblog/whats-the-definitive-maximum-size-of-an-email-address/</link>
		<comments>http://www.shawson.co.uk/codeblog/whats-the-definitive-maximum-size-of-an-email-address/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 09:41:12 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[E-Commerce]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[column length]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=402</guid>
		<description><![CDATA[I&#8217;ve written lots of app&#8217;s which store email addresses, and usually go for a nvarchar(100) to store them, but thought I would find out once and for all, what the actual maximum size was- just out of curiousity.
Having googled around, I came across a couple of lengthy posts on the matter (here and here), quoting [...]


Related posts:<ul><li><a href='http://www.shawson.co.uk/codeblog/single-character-wildcards/' rel='bookmark' title='Permanent Link: Single Character Wildcards'>Single Character Wildcards</a></li>
<li><a href='http://www.shawson.co.uk/codeblog/premailer-%e2%80%94-preflight-for-html-e-mail/' rel='bookmark' title='Permanent Link: Premailer — preflight for HTML e-mail'>Premailer — preflight for HTML e-mail</a></li>
<li><a href='http://www.shawson.co.uk/codeblog/setting-up-session-state-database-on-sql-server/' rel='bookmark' title='Permanent Link: Setting up session state database on sql server'>Setting up session state database on sql server</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written lots of app&#8217;s which store email addresses, and usually go for a nvarchar(100) to store them, but thought I would find out once and for all, what the actual maximum size was- just out of curiousity.</p>
<p>Having <a href="http://lmgtfy.com/?q=email+maximum+length" target="_blank">googled around</a>, I came across a couple of lengthy posts on the matter (<a href="http://www.eph.co.uk/resources/email-address-length-faq/" target="_blank">here </a>and <a href="http://stackoverflow.com/questions/386294/maximum-length-of-a-valid-email-id" target="_blank">here</a>), quoting figures from various standard (which seemed to point at 320 character), then corrections to those standards by members of ICANN based on the SMTP spec and so on and so forth&#8230;</p>
<p>After much trawling, it seems the official answer is : 254 characters (256 including the standard <> brackets around the address)</p>


<p>Related posts:<ul><li><a href='http://www.shawson.co.uk/codeblog/single-character-wildcards/' rel='bookmark' title='Permanent Link: Single Character Wildcards'>Single Character Wildcards</a></li>
<li><a href='http://www.shawson.co.uk/codeblog/premailer-%e2%80%94-preflight-for-html-e-mail/' rel='bookmark' title='Permanent Link: Premailer — preflight for HTML e-mail'>Premailer — preflight for HTML e-mail</a></li>
<li><a href='http://www.shawson.co.uk/codeblog/setting-up-session-state-database-on-sql-server/' rel='bookmark' title='Permanent Link: Setting up session state database on sql server'>Setting up session state database on sql server</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.shawson.co.uk/codeblog/whats-the-definitive-maximum-size-of-an-email-address/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Credit/ Debt card validation rules</title>
		<link>http://www.shawson.co.uk/codeblog/credit-debt-card-validation-rules/</link>
		<comments>http://www.shawson.co.uk/codeblog/credit-debt-card-validation-rules/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 09:53:11 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[E-Commerce]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=210</guid>
		<description><![CDATA[Valid as of 2009, from the Barclays Business website
bin_rules_may_2009.pdf (application/pdf Object).


Related posts:Whats the definitive maximum size of an email address?



Related posts:<ul><li><a href='http://www.shawson.co.uk/codeblog/whats-the-definitive-maximum-size-of-an-email-address/' rel='bookmark' title='Permanent Link: Whats the definitive maximum size of an email address?'>Whats the definitive maximum size of an email address?</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Valid as of 2009, from the Barclays Business website</p>
<p><a href="http://www.barclaycardbusiness.co.uk/docs/bin_rules_may_2009.pdf">bin_rules_may_2009.pdf (application/pdf Object)</a>.</p>


<p>Related posts:<ul><li><a href='http://www.shawson.co.uk/codeblog/whats-the-definitive-maximum-size-of-an-email-address/' rel='bookmark' title='Permanent Link: Whats the definitive maximum size of an email address?'>Whats the definitive maximum size of an email address?</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://www.shawson.co.uk/codeblog/credit-debt-card-validation-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
