<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>lekkimworld.comrfc821</title>
    <link>http://lekkimworld.com/tags/rfc821/</link>
    <description>IBM Lotus Notes/Domino, Websphere, IBM Connections, mobile, web, JavaScript, Java...</description>
    <language>en</language>
    <copyright>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</copyright>
    <pubDate>Sat, 19 May 2012 06:50:25 GMT</pubDate>
    <dc:creator>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:creator>
    <dc:date>2012-05-19T06:50:25Z</dc:date>
    <dc:language>en</dc:language>
    <dc:rights>Mikkel Flindt Heisterberg (mh [at] intravision [dot] dk</dc:rights>
    <image>
      <title>lekkimworld.comrfc821</title>
      <url>http://lekkimworld.com/tags/rfc821/</url>
    </image>
    <item>
      <title>RFC821 address functions in Notes - are they working properly?</title>
      <link>http://lekkimworld.com/2007/06/20/rfc821_address_functions_in_notes_are_they_working_properly.html</link>
      <content:encoded>&lt;p&gt;
I have been trying to use the built-in RFC821 address functions in Notes recently but has given up since they do not work correctly in my mind. A RFC821 - or an internet address - is in my mind composed of a local part (the part before the @-sign) and a &lt;u&gt;&lt;i&gt;period separated&lt;/i&gt;&lt;/u&gt; domain component (the part after the @-sign). A valid RFC821 address &lt;i&gt;must&lt;/i&gt; contain both parts. Valid examples could be:
&lt;ul&gt;
&lt;li&gt;jdoe@example.com&lt;/li&gt;
&lt;li&gt;john.doe@example.com&lt;/li&gt;
&lt;li&gt;jdoe@sales.example.com&lt;/li&gt;
&lt;/ul&gt;
Notes/Domino has functions in @Formula, LotusScript and Java for working with and validating RFC821 addresses and none work as expected (probably because they all use the same C code). For example all functions will accept "jdoe@example" as a valid RFC821 address - an address which is my mind isn't valid at all. This fact is further aggravated by the fact that I would expect to use the functions to distinguish between Notes addresses and RFC821 addresses. When the functions "work" as they do I cannot do that since jdoe@example could just as well be a Notes shortname followed by a Domino domain.
&lt;/p&gt;
&lt;p&gt;
Below is a test case for LotusScript (non-blank value should indicate a valid RFC821 address).
&lt;pre class="code"&gt;
Dim nn As New NotesName("jdoe@example.com")
Print nn.Addr821
&amp;gt;&amp;gt; jdoe@example.com
Set nn = New NotesName("jdoe@example")
Print nn.Addr821
&amp;gt;&amp;gt; jdoe@example
&lt;/pre&gt;
The help states:
&lt;pre class="code"&gt;
The RFC 821 address is a name followed by an at sign followed by an organization, for example, jbg@acme.us.com. In an RFC 822 address, it is the part enclosed in pointed brackets.
This property returns an empty string if the name does not contain an RFC 821 Internet address.
&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;
In my mind this is just plain wrong.
&lt;/p&gt;</content:encoded>
      <category domain="http://lekkimworld.com/categories/ls/">LotusScript</category>
      <category domain="http://lekkimworld.com/categories/ibm_products/">IBM</category>
      <category domain="http://lekkimworld.com/tags/formula/">formula</category>
      <category domain="http://lekkimworld.com/tags/java/">java</category>
      <category domain="http://lekkimworld.com/tags/lotusscript/">lotusscript</category>
      <category domain="http://lekkimworld.com/tags/rfc821/">rfc821</category>
      <pubDate>Wed, 20 Jun 2007 08:11:26 GMT</pubDate>
      <guid isPermaLink="false">tag:lekkimworld.com,2007-06-20:default/1182327086693</guid>
      <dc:date>2007-06-20T08:11:26Z</dc:date>
    </item>
  </channel>
</rss>


