<?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; column length</title>
	<atom:link href="http://codeblog.shawson.co.uk/tag/column-length/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeblog.shawson.co.uk</link>
	<description>development notes for my failing memory</description>
	<lastBuildDate>Wed, 01 Feb 2012 11:00:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Whats the definitive maximum size of an email address?</title>
		<link>http://codeblog.shawson.co.uk/whats-the-definitive-maximum-size-of-an-email-address/</link>
		<comments>http://codeblog.shawson.co.uk/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), [...]


Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/single-character-wildcards/' rel='bookmark' title='Single Character Wildcards'>Single Character Wildcards</a></li>
<li><a href='http://codeblog.shawson.co.uk/premailer-%e2%80%94-preflight-for-html-e-mail/' rel='bookmark' title='Premailer — preflight for HTML e-mail'>Premailer — preflight for HTML e-mail</a></li>
<li><a href='http://codeblog.shawson.co.uk/setting-up-session-state-database-on-sql-server/' rel='bookmark' title='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://codeblog.shawson.co.uk/single-character-wildcards/' rel='bookmark' title='Single Character Wildcards'>Single Character Wildcards</a></li>
<li><a href='http://codeblog.shawson.co.uk/premailer-%e2%80%94-preflight-for-html-e-mail/' rel='bookmark' title='Premailer — preflight for HTML e-mail'>Premailer — preflight for HTML e-mail</a></li>
<li><a href='http://codeblog.shawson.co.uk/setting-up-session-state-database-on-sql-server/' rel='bookmark' title='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://codeblog.shawson.co.uk/whats-the-definitive-maximum-size-of-an-email-address/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

