<?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"
	>

<channel>
	<title>blog :: john collette</title>
	<atom:link href="http://www.johncollette.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johncollette.com</link>
	<description>global views from a down to earth perspective</description>
	<pubDate>Fri, 25 Jul 2008 22:38:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Entrepreneurship &#038; Self Evaluation</title>
		<link>http://www.johncollette.com/entrepreneurship/entrepreneurship-self-evaluation/</link>
		<comments>http://www.johncollette.com/entrepreneurship/entrepreneurship-self-evaluation/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 02:49:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Entrepreneurship]]></category>

		<guid isPermaLink="false">http://www.johncollette.com/entrepreneurship/entrepreneurship-self-evaluation/</guid>
		<description><![CDATA[This blog Marc Cuban really sums up knowing one’s self and playing on those strengths.
]]></description>
			<content:encoded><![CDATA[<p>This <a href="http://www.blogmaverick.com/2008/01/06/success-and-motivation-dont-lie-to-yourself/">blog</a> Marc Cuban really sums up knowing one’s self and playing on those strengths.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johncollette.com/entrepreneurship/entrepreneurship-self-evaluation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Back in the Blogosphere</title>
		<link>http://www.johncollette.com/uncategorized/back-on-in-the-blogosphere/</link>
		<comments>http://www.johncollette.com/uncategorized/back-on-in-the-blogosphere/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 08:39:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[blog setup]]></category>

		<guid isPermaLink="false">http://www.johncollette.com/uncategorized/back-on-in-the-blogosphere/</guid>
		<description><![CDATA[After a long break from blogging. I&#8217;ve decided it&#8217;s time to get with the program and share some knowledge with the rest of the world. My inspiration comes from all the other wonderful blog&#8217;s I&#8217;ve been reading. They have provided me with valuable incite and assistance on the development work I&#8217;ve been immersed in. So [...]]]></description>
			<content:encoded><![CDATA[<p>After a long break from blogging. I&#8217;ve decided it&#8217;s time to get with the program and share some knowledge with the rest of the world. My inspiration comes from all the other wonderful blog&#8217;s I&#8217;ve been reading. They have provided me with valuable incite and assistance on the development work I&#8217;ve been immersed in. So here we go &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johncollette.com/uncategorized/back-on-in-the-blogosphere/feed/</wfw:commentRss>
		</item>
		<item>
		<title>last.fm</title>
		<link>http://www.johncollette.com/music/lastfm/</link>
		<comments>http://www.johncollette.com/music/lastfm/#comments</comments>
		<pubDate>Mon, 13 Aug 2007 05:19:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://www.johncollette.com/uncategorized/lastfm/</guid>
		<description><![CDATA[table.lfmWidget20070813051822 td {margin:0 !important;padding:0 !important;border:0 !important;}table.lfmWidget20070813051822 tr.lfmHead a:hover {background:url(http://cdn.last.fm/widgets/images/en/header/chart/recenttracks_regular_black.png) no-repeat 0 0 !important;}table.lfmWidget20070813051822 tr.lfmEmbed object {float:left;}table.lfmWidget20070813051822 tr.lfmFoot td.lfmConfig a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat 0px 0 !important;;}table.lfmWidget20070813051822 tr.lfmFoot td.lfmView a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -85px 0 !important;}table.lfmWidget20070813051822 tr.lfmFoot td.lfmPopup a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -159px 0 !important;}



















]]></description>
			<content:encoded><![CDATA[<style type="text/css">table.lfmWidget20070813051822 td {margin:0 !important;padding:0 !important;border:0 !important;}table.lfmWidget20070813051822 tr.lfmHead a:hover {background:url(http://cdn.last.fm/widgets/images/en/header/chart/recenttracks_regular_black.png) no-repeat 0 0 !important;}table.lfmWidget20070813051822 tr.lfmEmbed object {float:left;}table.lfmWidget20070813051822 tr.lfmFoot td.lfmConfig a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat 0px 0 !important;;}table.lfmWidget20070813051822 tr.lfmFoot td.lfmView a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -85px 0 !important;}table.lfmWidget20070813051822 tr.lfmFoot td.lfmPopup a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -159px 0 !important;}</style>
<table class="lfmWidget20070813051822" cellpadding="0" cellspacing="0" border="0" style="width:184px;">
<tr class="lfmHead">
<td><a title="MelloMight: Recently Listened Tracks" href="http://www.last.fm/user/MelloMight/" target="_blank" style="display:block;overflow:hidden;height:20px;width:184px;background:url(http://cdn.last.fm/widgets/images/en/header/chart/recenttracks_regular_black.png) no-repeat 0 -20px;text-decoration:none;"></a></td>
</tr>
<tr class="lfmEmbed">
<td><object width="184" height="199" style="float:left;" data="http://cdn.last.fm/widgets/chart/friends_3.swf" type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"><param name="movie" value="http://cdn.last.fm/widgets/chart/friends_3.swf" /><param name="flashvars" value="type=recenttracks&amp;user=MelloMight&amp;theme=black&amp;lang=en" /><param name="bgcolor" value="#000000" /><param name="quality" value="high" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowNetworking" value="all" /><embed src="http://cdn.last.fm/widgets/chart/friends_3.swf" flashvars="type=recenttracks&amp;user=MelloMight&amp;theme=black&amp;lang=en" bgcolor="#000000" width="184" height="199" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" allowScriptAccess="sameDomain" allowNetworking="all"></embed></object></td>
</tr>
<tr class="lfmFoot">
<td style="background:url(http://cdn.last.fm/widgets/images/footer_bg/black.png) repeat-x 0 0;text-align:right;">
<table cellspacing="0" cellpadding="0" border="0" style="width:184px;">
<tr>
<td class="lfmConfig"><a href="http://www.last.fm/widgets/?widget=chart&amp;colour=black&amp;chartType=recenttracks&amp;user=MelloMight&amp;chartFriends=1&amp;path=&amp;from=code" title="Get your own widget" target="_blank" style="display:block;overflow:hidden;width:85px;height:20px;float:right;background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat 0px -20px;text-decoration:none;"></a></td>
<td class="lfmView" style="width:74px;"><a href="http://www.last.fm/user/MelloMight/" title="View MelloMight's profile" target="_blank" style="display:block;overflow:hidden;width:74px;height:20px;background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -85px -20px;text-decoration:none;"></a></td>
<td class="lfmPopup"style="width:25px;"><a href="http://www.last.fm/widgets/popup/?widget=chart&amp;colour=black&amp;chartType=recenttracks&amp;user=MelloMight&amp;chartFriends=1&amp;path=&amp;from=code&amp;resize=1" title="Load this chart in a pop up" target="_blank" style="display:block;overflow:hidden;width:25px;height:20px;background:url(http://cdn.last.fm/widgets/images/en/footer/black.png) no-repeat -159px -20px;text-decoration:none;" onclick="window.open(this.href + '&amp;resize=0','lfm_popup','height=299,width=234,resizable=yes,scrollbars=yes'); return false;"></a></td>
</tr>
</table>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.johncollette.com/music/lastfm/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The 4 hour work week</title>
		<link>http://www.johncollette.com/books/the-4-hour-work-week/</link>
		<comments>http://www.johncollette.com/books/the-4-hour-work-week/#comments</comments>
		<pubDate>Wed, 23 May 2007 00:55:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[books]]></category>

		<guid isPermaLink="false">http://www.johncollette.com/books/the-4-hour-work-week/</guid>
		<description><![CDATA[Timothy Ferriss is out of hand. His concepts on Lifestyle Design: Low-information diet, Mini Retirements, Outsourcing life, &#8220;Muse&#8221; Marketing are fantastic. My only complaint as a business grad &#038; technocrat were the pieces that reminded me of basic  b-school textbook stuff. Our ideal lifestyles are to travel &#038; learn in uninterrupted years at time. [...]]]></description>
			<content:encoded><![CDATA[<p>Timothy Ferriss is out of hand. His concepts on Lifestyle Design: Low-information diet, Mini Retirements, Outsourcing life, &#8220;Muse&#8221; Marketing are fantastic. My only complaint as a business grad &#038; technocrat were the pieces that reminded me of basic  b-school textbook stuff. Our ideal lifestyles are to travel &#038; learn in uninterrupted years at time. To get there Tim explains how to select/develop a product then A/B/C test market with a Google adword placement, attractive sales page and a sprinkle of conversion calculations. Blam you have projected profitability and lt-viability.  End goal is to sell your product online while building a completely virtual(outsourced) organizational structure or incubate a tele-work situation. I truly enjoyed the famous relevant quote smatterings added to the enjoyment and impact. Overall feelings of enlightenment, enthusiasm and resolve to get that life long travel dream back on track in an manageable express time frame. Check it out this is not your typical BS book. Welcome to the New Rich - JC (NR)  </p>
<p> &#8220;Whenever you find yourself on the side of the majority, it is time to pause and reflect.&#8221; — Mark Twain</p>
<p>&#8220;Anyone who lives within their means suffers from a lack of imagination.&#8221; — Oscar Wilde, Irish dramatist and novelist</p>
<p>Here are some excerpts from the book:</p>
<blockquote><p>I never enjoyed answering this cocktail question because it reflects an epidemic I was long part of: job descriptions as self-descriptions. If someone asks me now and is anything but absolutely sincere, I explain my lifestyle of mysterious means simply.</p>
<p>“I’m a drug dealer.” </p></blockquote>
<blockquote><p>People don’t want to be millionaires — they want to experience what they believe only millions can buy. Ski chalets, butlers, and exotic travel often enter the picture. Perhaps rubbing cocoa butter on your belly in a hammock while you listen to waves rhythmically lapping against the deck of your thatched-roof bungalow? Sounds nice. </p></blockquote>
<blockquote><p>How does a lifelong blue-chip employee escape to travel the world for a month without his boss even noticing? He uses technology to hide the fact.
</p></blockquote>
<blockquote><p>
Gold is getting old. The New Rich (NR) are those who abandon the deferred-life plan and create luxury lifestyles in the present using the currency of the New Rich: time and mobility. This is an art and a science we will refer to as Lifestyle Design (LD).</p>
<p>I’ve spent the last three years traveling among those who live in worlds currently beyond your imagination. Rather than hating reality, I’ll show you how to bend it to your will. It’s easier than it sounds. My journey from grossly overworked and severely underpaid office worker to member of the NR is at once stranger than fiction and — now that I’ve deciphered the code — simple to duplicate. There is a recipe. </p></blockquote>
<p><a href="http://www.4hourworkweek.com">http://www.4hourworkweek.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.johncollette.com/books/the-4-hour-work-week/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Minimialist Theme</title>
		<link>http://www.johncollette.com/uncategorized/minimialist-theme/</link>
		<comments>http://www.johncollette.com/uncategorized/minimialist-theme/#comments</comments>
		<pubDate>Tue, 22 May 2007 01:08:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[good design]]></category>

		<guid isPermaLink="false">http://www.johncollette.com/uncategorized/minimialist-theme/</guid>
		<description><![CDATA[I&#8217;ve decided to go basic and get rid of all the fancy colors and distractions. In order to simplify. Hope you enjoy the Minimalism
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to go basic and get rid of all the fancy colors and distractions. In order to simplify. Hope you enjoy the Minimalism</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johncollette.com/uncategorized/minimialist-theme/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Old School ASP error trap + ASP CDO email with authentication</title>
		<link>http://www.johncollette.com/uncategorized/old-school-asp-error-trap-asp-cdo-email-with-authentication/</link>
		<comments>http://www.johncollette.com/uncategorized/old-school-asp-error-trap-asp-cdo-email-with-authentication/#comments</comments>
		<pubDate>Wed, 04 Apr 2007 19:48:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[asp classic]]></category>

		<guid isPermaLink="false">http://www.johncollette.com/uncategorized/old-school-asp-error-trap-asp-cdo-email-with-authentication/</guid>
		<description><![CDATA[Wow is this old and dusty
Here is the Whole deal:
You pass in the name, email, subject &#038; body
action=test  &#8212; will alow you too switch to an alernate test config for debuging

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
&#160;
&#160;
'Option Explicit
On Error Resume Next
&#160;
	Dim strName, strFrom, strSubject, strBody, strAction, SMTPServer, SMTPUser, SMTPpass, mailTo 
&#160;
		strName = &#34;&#34;
		strFrom = &#34;&#34;
		strSubject = &#34;&#34; 
		strBody = &#34;&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Wow is this old and dusty</p>
<p>Here is the Whole deal:</p>
<p>You pass in the name, email, subject &#038; body</p>
<p>action=test  &#8212; will alow you too switch to an alernate test config for debuging</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
</pre></td><td class="code"><pre class="asp">&nbsp;
&nbsp;
<span style="color: #008000;">'Option Explicit</span>
<span style="color: #990099; font-weight: bold;">On</span> <span style="color: #990099; font-weight: bold;">Error</span> <span style="color: #990099; font-weight: bold;">Resume</span> <span style="color: #990099; font-weight: bold;">Next</span>
&nbsp;
	<span style="color: #990099; font-weight: bold;">Dim</span> strName, strFrom, strSubject, strBody, strAction, SMTPServer, SMTPUser, SMTPpass, mailTo 
&nbsp;
		strName <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;&quot;</span>
		strFrom <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;&quot;</span>
		strSubject <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;&quot;</span> 
		strBody <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;&quot;</span> 
		strAction <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;&quot;</span>	
&nbsp;
	strAction <span style="color: #006600; font-weight: bold">=</span> <span style="color: #330066;">trim</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #990099; font-weight: bold;">Request</span>.<span style="color: #330066;">Querystring</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;action&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span><span style="color: #006600; font-weight:bold">&#41;</span>
	strName <span style="color: #006600; font-weight: bold">=</span> <span style="color: #330066;">trim</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #990099; font-weight: bold;">Request</span>.<span style="color: #330066;">Querystring</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;name&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span><span style="color: #006600; font-weight:bold">&#41;</span>
	strFrom <span style="color: #006600; font-weight: bold">=</span> <span style="color: #330066;">trim</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #990099; font-weight: bold;">Request</span>.<span style="color: #330066;">Querystring</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;emailfrom&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span><span style="color: #006600; font-weight:bold">&#41;</span>
	<span style="color: #008000;">'strTo = trim(Request.Querystring(&quot;emailto&quot;))</span>
	strSubject <span style="color: #006600; font-weight: bold">=</span> <span style="color: #330066;">trim</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #990099; font-weight: bold;">Request</span>.<span style="color: #330066;">Querystring</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;emailsubject&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span><span style="color: #006600; font-weight:bold">&#41;</span>
	strBody <span style="color: #006600; font-weight: bold">=</span> <span style="color: #330066;">trim</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #990099; font-weight: bold;">Request</span>.<span style="color: #330066;">Querystring</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;emailbody&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span><span style="color: #006600; font-weight:bold">&#41;</span>
&nbsp;
&nbsp;
&nbsp;
<span style="color: #990099; font-weight: bold;">if</span> <span style="color: #330066;">instr</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #800000;">1</span>, strFrom , <span style="color: #cc0000;">&quot;@&quot;</span>, <span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold">&#41;</span> <span style="color: #006600; font-weight: bold">&lt;</span> <span style="color: #800000;">1</span> <span style="color: #0000ff; font-weight: bold;">or</span> <span style="color: #330066;">instr</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #800000;">1</span>, strFrom, <span style="color: #cc0000;">&quot;.&quot;</span>, <span style="color: #800000;">1</span><span style="color: #006600; font-weight:bold">&#41;</span> <span style="color: #006600; font-weight: bold">&lt;</span> <span style="color: #800000;">1</span> <span style="color: #0000ff; font-weight: bold;">or</span> strName <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;&quot;</span>   <span style="color: #990099; font-weight: bold;">then</span>
&nbsp;
	<span style="color: #008000;">'Do some validation error response - dont send email</span>
	<span style="color: #008000;">'errormessage = &quot;&lt;font color='ff0000' size='3'&gt;Please fill out your name and email address!&lt;/font&gt;&lt;br&gt;&lt;br&gt;&quot;</span>
	<span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">Write</span> <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;not_valid&quot;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">else</span>
&nbsp;
&nbsp;
	<span style="color: #990099; font-weight: bold;">Set</span> cdoConfig <span style="color: #006600; font-weight: bold">=</span> <span style="color: #330066;">CreateObject</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;CDO.Configuration&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span>  
&nbsp;
&nbsp;
	Const cdoSendUsingPickup <span style="color: #006600; font-weight: bold">=</span> <span style="color: #800000;">1</span> 
	Const cdoSendUsingPort <span style="color: #006600; font-weight: bold">=</span> <span style="color: #800000;">2</span> 
	Const cdoAnonymous <span style="color: #006600; font-weight: bold">=</span> <span style="color: #800000;">0</span>
	<span style="color: #008000;">' Use basic (clear-text) authentication. </span>
	Const cdoBasic <span style="color: #006600; font-weight: bold">=</span> <span style="color: #800000;">1</span>
	<span style="color: #008000;">' Use NTLM authentication </span>
	Const cdoNTLM <span style="color: #006600; font-weight: bold">=</span> <span style="color: #800000;">2</span> <span style="color: #008000;">'NTLM</span>
&nbsp;
&nbsp;
	<span style="color: #990099; font-weight: bold;">if</span> strAction <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;test&quot;</span> <span style="color: #990099; font-weight: bold;">then</span>
&nbsp;
<span style="color: #008000;">' test user</span>
&nbsp;
	 SMTPServer <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;mail.yourserver.com&quot;</span> 
	 SMTPUser <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;webform@yourserver.com&quot;</span>
	 SMTPpass <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;password&quot;</span>
	 mailTo <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;user@yourserver.com&quot;</span>
&nbsp;
&nbsp;
	<span style="color: #990099; font-weight: bold;">else</span>
&nbsp;
&nbsp;
	 SMTPServer <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;mail.yourserver.com&quot;</span> 
	 SMTPUser <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;webform@yourserver.com&quot;</span>
	 SMTPpass <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;password&quot;</span>
	 mailTo <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;user@yourserver.com&quot;</span>
&nbsp;
&nbsp;
	<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #990099; font-weight: bold;">if</span>
&nbsp;
&nbsp;
    <span style="color: #990099; font-weight: bold;">With</span> cdoConfig.<span style="color: #330066;">Fields</span>  
        .<span style="color: #9900cc;">Item</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;http://schemas.microsoft.com/cdo/configuration/sendusing&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span>  <span style="color: #006600; font-weight: bold">=</span> cdoSendUsingPickup
        .<span style="color: #9900cc;">Item</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;http://schemas.microsoft.com/cdo/configuration/smtpserver&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span> <span style="color: #006600; font-weight: bold">=</span> SMTPServer 
		.<span style="color: #9900cc;">Item</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span> <span style="color: #006600; font-weight: bold">=</span> cdoBasic
		.<span style="color: #9900cc;">Item</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;http://schemas.microsoft.com/cdo/configuration/sendusername&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span> <span style="color: #006600; font-weight: bold">=</span> SMTPUser
		.<span style="color: #9900cc;">Item</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;http://schemas.microsoft.com/cdo/configuration/sendpassword&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span> <span style="color: #006600; font-weight: bold">=</span> SMTPpass
		.<span style="color: #9900cc;">Item</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;http://schemas.microsoft.com/cdo/configuration/smtpserverport&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span> <span style="color: #006600; font-weight: bold">=</span> <span style="color: #800000;">25</span>
		.<span style="color: #9900cc;">Item</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span> <span style="color: #006600; font-weight: bold">=</span> <span style="color: #800000;">60</span>
        .<span style="color: #9900cc;">Update</span>  
    <span style="color: #990099; font-weight: bold;">End</span> <span style="color: #990099; font-weight: bold;">With</span>  
&nbsp;
&nbsp;
&nbsp;
    <span style="color: #990099; font-weight: bold;">Set</span> cdoMessage <span style="color: #006600; font-weight: bold">=</span> <span style="color: #330066;">CreateObject</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;CDO.Message&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span>  
&nbsp;
    <span style="color: #990099; font-weight: bold;">With</span> cdoMessage  
        <span style="color: #990099; font-weight: bold;">Set</span> .<span style="color: #9900cc;">Configuration</span> <span style="color: #006600; font-weight: bold">=</span> cdoConfig  
        .<span style="color: #9900cc;">From</span> <span style="color: #006600; font-weight: bold">=</span> SMTPUser <span style="color: #008000;">'request.form(&quot;youremail&quot;)</span>
        .<span style="color: #990099; font-weight: bold;">To</span> <span style="color: #006600; font-weight: bold">=</span> mailTo  
        .<span style="color: #9900cc;">Subject</span> <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;CONTACT YOURDOMAIN.COM&quot;</span> 
&nbsp;
					message <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;Below is the result of your Contact us form, It was submitted on &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> formatdatetime<span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #330066;">now</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #006600; font-weight:bold">&#41;</span>,vbLongDate<span style="color: #006600; font-weight:bold">&#41;</span> <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot; &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> vbCrLf <span style="color: #006600; font-weight: bold">&amp;</span> vbCrLf
					message <span style="color: #006600; font-weight: bold">=</span> message <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot;Name: &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> strName <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot; &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> vbCrLf
					message <span style="color: #006600; font-weight: bold">=</span> message <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot;Email: &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> strFrom <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot; &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> vbCrLf
					message <span style="color: #006600; font-weight: bold">=</span> message <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot;Subject: &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> strSubject <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot; &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> vbCrLf
					message <span style="color: #006600; font-weight: bold">=</span> message <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot;Message: &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> strBody <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot; &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> vbCrLf
&nbsp;
					message <span style="color: #006600; font-weight: bold">=</span> message + <span style="color: #cc0000;">&quot;___________________________________________________________&quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> vbCrLf <span style="color: #006600; font-weight: bold">&amp;</span> vbCrLf
					message <span style="color: #006600; font-weight: bold">=</span> message + <span style="color: #cc0000;">&quot;IP Address : &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #990099; font-weight: bold;">Request</span>.<span style="color: #330066;">ServerVariables</span><span style="color: #006600; font-weight:bold">&#40;</span><span style="color: #cc0000;">&quot;Remote_Addr&quot;</span><span style="color: #006600; font-weight:bold">&#41;</span> <span style="color: #006600; font-weight: bold">&amp;</span> vbCrLf
					message <span style="color: #006600; font-weight: bold">=</span> message + <span style="color: #cc0000;">&quot;End&quot;</span>
&nbsp;
&nbsp;
        .<span style="color: #9900cc;">TextBody</span> <span style="color: #006600; font-weight: bold">=</span> message  
        .<span style="color: #330066;">Send</span> 
    <span style="color: #990099; font-weight: bold;">End</span> <span style="color: #990099; font-weight: bold;">With</span> 
&nbsp;
&nbsp;
&nbsp;
    <span style="color: #990099; font-weight: bold;">Set</span> cdoMessage <span style="color: #006600; font-weight: bold">=</span> <span style="color: #0000ff; font-weight: bold;">Nothing</span>  
    <span style="color: #990099; font-weight: bold;">Set</span> cdoConfig <span style="color: #006600; font-weight: bold">=</span> <span style="color: #0000ff; font-weight: bold;">Nothing</span>  
&nbsp;
&nbsp;
<span style="color: #990099; font-weight: bold;">end</span> <span style="color: #990099; font-weight: bold;">if</span>
&nbsp;
&nbsp;
&nbsp;
<span style="color: #990099; font-weight: bold;">If</span> err.<span style="color: #9900cc;">Number</span> <span style="color: #006600; font-weight: bold">&lt;&gt;</span> <span style="color: #800000;">0</span> <span style="color: #990099; font-weight: bold;">Then</span>
  <span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">Write</span> <span style="color: #cc0000;">&quot;ID = &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot;1&quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot;&lt;p&gt;&quot;</span>
  <span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">Write</span> <span style="color: #cc0000;">&quot;Number = &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> err.<span style="color: #9900cc;">Number</span> <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot;&lt;p&gt;&quot;</span>
  <span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">Write</span> <span style="color: #cc0000;">&quot;Description = &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> err.<span style="color: #9900cc;">Description</span> <span style="color: #006600; font-weight: bold">&amp;</span> <span style="color: #cc0000;">&quot;&lt;p&gt;&quot;</span>
  <span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">Write</span> <span style="color: #cc0000;">&quot;Source = &quot;</span> <span style="color: #006600; font-weight: bold">&amp;</span> err.<span style="color: #9900cc;">Source</span>
  <span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">Write</span> <span style="color: #cc0000;">&quot;&lt;BR&gt;&quot;</span>
  err.<span style="color: #330066;">Clear</span>
<span style="color: #990099; font-weight: bold;">else</span> 
&nbsp;
<span style="color: #990099; font-weight: bold;">Response</span>.<span style="color: #330066;">Write</span> <span style="color: #006600; font-weight: bold">=</span> <span style="color: #cc0000;">&quot;OK&quot;</span>
&nbsp;
<span style="color: #990099; font-weight: bold;">End</span> <span style="color: #990099; font-weight: bold;">If</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.johncollette.com/uncategorized/old-school-asp-error-trap-asp-cdo-email-with-authentication/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Working</title>
		<link>http://www.johncollette.com/work/working/</link>
		<comments>http://www.johncollette.com/work/working/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 16:56:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://johncollette.com/work/working/</guid>
		<description><![CDATA[I&#8217;m at work &#8230; and wanted to check it out
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m at work &#8230; and wanted to check it out</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johncollette.com/work/working/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress Setup Windows vs Linux</title>
		<link>http://www.johncollette.com/blog-setup/wordpress-setup-windows-vs-linux/</link>
		<comments>http://www.johncollette.com/blog-setup/wordpress-setup-windows-vs-linux/#comments</comments>
		<pubDate>Sun, 11 Feb 2007 05:38:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[blog setup]]></category>

		<guid isPermaLink="false">http://johncollette.com/blog-setup/wordpress-setup-windows-vs-linux/</guid>
		<description><![CDATA[Tried windows box first. Cool &#8212; but no nice perm-linking. Moved domain to Linux box and this blog is humming sweet features and easy setup. Very intuitive tons of features. I&#8217;m impressed so far.
]]></description>
			<content:encoded><![CDATA[<p>Tried windows box first. Cool &#8212; but no nice perm-linking. Moved domain to Linux box and this blog is humming sweet features and easy setup. Very intuitive tons of features. I&#8217;m impressed so far.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johncollette.com/blog-setup/wordpress-setup-windows-vs-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.johncollette.com/uncategorized/hello-world/</link>
		<comments>http://www.johncollette.com/uncategorized/hello-world/#comments</comments>
		<pubDate>Sat, 10 Feb 2007 23:03:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
]]></description>
			<content:encoded><![CDATA[<p>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johncollette.com/uncategorized/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
