<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: notification]]></title>
    <link>http://securityratty.com/tag/notification</link>
    <description></description>
    <pubDate>Fri, 01 Aug 2008 09:59:01 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Check if Your Gmail is Hacked with Activity Monitor]]></title>
      <link>http://securityratty.com/article/fa33eb29ef4aa58abfcbb608de742ecb</link>
      <guid>http://securityratty.com/article/fa33eb29ef4aa58abfcbb608de742ecb</guid>
      <description><![CDATA[This time I want to go over one new Gmail feature. It watches your account and displays a notification when someone else logs into your account. Basically a nice little feature from Gmail team that...]]></description>
      <content:encoded><![CDATA[This time I want to go over one new Gmail feature. It watches your account and displays a notification when someone else logs into your account. Basically a nice little feature from Gmail team that lets you check if someone has hacked into your Gmail account.]]></content:encoded>
      <pubDate>Thu, 02 Oct 2008 03:30:02 +0000</pubDate>
      <category domain="http://securityratty.com/tag/gmail account">gmail account</category>
      <category domain="http://securityratty.com/tag/account">account</category>
      <category domain="http://securityratty.com/tag/gmail feature">gmail feature</category>
      <category domain="http://securityratty.com/tag/feature">feature</category>
      <category domain="http://securityratty.com/tag/check">check</category>
      <category domain="http://securityratty.com/tag/gmail team">gmail team</category>
      <category domain="http://securityratty.com/tag/time">time</category>
      <category domain="http://securityratty.com/tag/logs">logs</category>
      <category domain="http://securityratty.com/tag/nice">nice</category>
      <source url="http://digg.com/security/Check_if_Your_Gmail_is_Hacked_with_Activity_Monitor">Check if Your Gmail is Hacked with Activity Monitor</source>
    </item>
    <item>
      <title><![CDATA[PSS World Medical applicants affected by job boards breach]]></title>
      <link>http://securityratty.com/article/5a90e0838a48ae8e73177a9a1bfb90ee</link>
      <guid>http://securityratty.com/article/5a90e0838a48ae8e73177a9a1bfb90ee</guid>
      <description><![CDATA[In a breach notification letter sent to the New Hampshire State Attorney General, PSS World Medical states that the company recently became aware of an incident involving unauthorized access to...]]></description>
      <content:encoded><![CDATA[In a breach notification letter sent to the New Hampshire State Attorney General, PSS World Medical states that the company &#8220;recently became aware of an incident involving unauthorized access&#8221; to company&#8217;s career board website. The unauthorized access resulted in the exposure of personal information belonging to job applicants and others that may have posted their [...]]]></content:encoded>
      <pubDate>Tue, 30 Sep 2008 18:41:20 +0000</pubDate>
      <category domain="http://securityratty.com/tag/pss world medical">pss world medical</category>
      <category domain="http://securityratty.com/tag/breach notification letter">breach notification letter</category>
      <category domain="http://securityratty.com/tag/access">access</category>
      <category domain="http://securityratty.com/tag/company recently">company recently</category>
      <category domain="http://securityratty.com/tag/personal information">personal information</category>
      <category domain="http://securityratty.com/tag/job applicants">job applicants</category>
      <category domain="http://securityratty.com/tag/incident">incident</category>
      <category domain="http://securityratty.com/tag/attorney">attorney</category>
      <category domain="http://securityratty.com/tag/hampshire">hampshire</category>
      <source url="http://cyberinsecure.com/pss-world-medical-applicants-affected-by-job-boards-breach/">PSS World Medical applicants affected by job boards breach</source>
    </item>
    <item>
      <title><![CDATA[Visa to develop e-payment applications for Android, Nokia phones]]></title>
      <link>http://securityratty.com/article/539d4a1928074468d4f77d0d8c3044f5</link>
      <guid>http://securityratty.com/article/539d4a1928074468d4f77d0d8c3044f5</guid>
      <description><![CDATA[Consumers will receive what Visa calls 'near real-time' notification of purchase activity, based on parameters they set...]]></description>
      <content:encoded><![CDATA[Consumers will receive what Visa calls 'near real-time' notification of purchase activity, based on parameters they set up.<br style="clear: both;"/>
    <a style='font-size: 10px; color: maroon;' href='http://www.pheedo.com/hostedMorselClick.php?hfmm=v3:842b87190c8495845fef7a9ce0823867:l3rBLQjNmPDfsBgMMsKYCdemrvq1WtBlKR2KcqNiGszB5fUqeWneIVcvJP%2BL9pme20wVmWxvms7e'><img border='0' title='Add to digg' alt='Add to digg' src='http://www.pheedo.com/images/mm/digg.gif'/></a>
    <a style='font-size: 10px; color: maroon;' href='http://www.pheedo.com/hostedMorselClick.php?hfmm=v3:d552e4d82241291e12b4f9cd46c1a82f:r72UF0jPPeJY3jCMj85fDkKTXi01R%2FUdPPePwHAqCZGqgFDJAoZVtIKsf2Sxaack1yuIQmwPmWVcAg%3D%3D'><img border='0' title='Add to StumbleUpon' alt='Add to StumbleUpon' src='http://www.pheedo.com/images/mm/stumbleit.gif'/></a>
    <a style='font-size: 10px; color: maroon;' href='http://www.pheedo.com/hostedMorselClick.php?hfmm=v3:70b36a1b76bb45004de2d05665939f23:sp%2BxcCju3x5LREWr%2FfLqUY4fIJr21RmJUnJgm7FO9EYgGpmCXMSv2dc6xo1csF0DAcKoPJEsc4SwEA%3D%3D'><img border='0' title='Add to Twitter' alt='Add to Twitter' src='http://www.pheedo.com/images/mm/twitter.png'/></a>
    <a style='font-size: 10px; color: maroon;' href='http://www.pheedo.com/hostedMorselClick.php?hfmm=v3:dd9b34271d18c4fef8847cb38ff993a0:GbWoppmXu765BzxawpAUTBAB7NkDc4nVVa%2BPr1a0Qry3qlc4uoUc55hFnhtDfVjwKyP2CHCFLVK3wA%3D%3D'><img border='0' title='Add to Slashdot' alt='Add to Slashdot' src='http://www.pheedo.com/images/mm/slashdot.png'/></a>
<br style="clear: both;"/>  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=8bb4372e4337d31b2c5d6585a9610148" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=8bb4372e4337d31b2c5d6585a9610148" style="display: none;" border="0" height="1" width="1" alt=""/>]]></content:encoded>
      <pubDate>Fri, 26 Sep 2008 00:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/visa calls">visa calls</category>
      <category domain="http://securityratty.com/tag/purchase activity">purchase activity</category>
      <category domain="http://securityratty.com/tag/receive">receive</category>
      <category domain="http://securityratty.com/tag/parameters">parameters</category>
      <category domain="http://securityratty.com/tag/consumers">consumers</category>
      <category domain="http://securityratty.com/tag/real-time">real-time</category>
      <category domain="http://securityratty.com/tag/notification">notification</category>
      <category domain="http://securityratty.com/tag/set">set</category>
      <category domain="http://securityratty.com/tag/based">based</category>
      <source url="http://feeds.computerworld.com/click.phdo?i=8bb4372e4337d31b2c5d6585a9610148">Visa to develop e-payment applications for Android, Nokia phones</source>
    </item>
    <item>
      <title><![CDATA[QuickTime Crashing Zero-day Attack Code Published, Malicious Code Execution Possible]]></title>
      <link>http://securityratty.com/article/1a95d120eb958da72b7c7860bf2126e9</link>
      <guid>http://securityratty.com/article/1a95d120eb958da72b7c7860bf2126e9</guid>
      <description><![CDATA[According to Aaron Adams, a Symantec Corp.s DeepSight threat notification network researcher, new attack code that exploits an unpatched vulnerability in Apple Inc.s QuickTime was published on...]]></description>
      <content:encoded><![CDATA[According to Aaron Adams, a Symantec Corp.&#8217;s DeepSight threat notification network researcher, new attack code that exploits an unpatched vulnerability in Apple Inc.&#8217;s QuickTime was published on milw0rm.com in Tuesday, just a week after the company updated the media player to plug nine other serious vulnerabilities.
The exploit takes advantage of a flaw in the &#8220;&#60;? [...]]]></content:encoded>
      <pubDate>Thu, 18 Sep 2008 10:57:04 +0000</pubDate>
      <category domain="http://securityratty.com/tag/attack code">attack code</category>
      <category domain="http://securityratty.com/tag/exploit takes advantage">exploit takes advantage</category>
      <category domain="http://securityratty.com/tag/quicktime">quicktime</category>
      <category domain="http://securityratty.com/tag/aaron adams">aaron adams</category>
      <category domain="http://securityratty.com/tag/symantec corp">symantec corp</category>
      <category domain="http://securityratty.com/tag/media player">media player</category>
      <category domain="http://securityratty.com/tag/exploits">exploits</category>
      <category domain="http://securityratty.com/tag/week">week</category>
      <category domain="http://securityratty.com/tag/apple">apple</category>
      <source url="http://cyberinsecure.com/quicktime-crashing-zero-day-attack-code-published-malicious-code-execution-possible/">QuickTime Crashing Zero-day Attack Code Published, Malicious Code Execution Possible</source>
    </item>
    <item>
      <title><![CDATA[Web 2.0 Attacks Revealed]]></title>
      <link>http://securityratty.com/article/399f63346ff3bf5fef48d6879df090c4</link>
      <guid>http://securityratty.com/article/399f63346ff3bf5fef48d6879df090c4</guid>
      <description><![CDATA[This paper details various security concerns and risks associated with web 2.0 technologies such as Asynchronous Java script and XML (AJAX), Syndication, aggregation and notification of data in RSS or...]]></description>
      <content:encoded><![CDATA[This paper details various security concerns and risks associated with web 2.0 technologies such as Asynchronous Java script and XML (AJAX), Syndication, aggregation and notification of data in RSS or Atom feeds, mashups created by merging content from different sources. This paper also describes the security implications leading with the usage of web 2.0 technologies such as AJAX, RSS, and Mashups.]]></content:encoded>
      <pubDate>Sun, 14 Sep 2008 20:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/web">web</category>
      <category domain="http://securityratty.com/tag/paper">paper</category>
      <category domain="http://securityratty.com/tag/paper details">paper details</category>
      <category domain="http://securityratty.com/tag/asynchronous java script">asynchronous java script</category>
      <category domain="http://securityratty.com/tag/technologies">technologies</category>
      <category domain="http://securityratty.com/tag/atom feeds">atom feeds</category>
      <category domain="http://securityratty.com/tag/security concerns">security concerns</category>
      <category domain="http://securityratty.com/tag/mashups">mashups</category>
      <category domain="http://securityratty.com/tag/ajax">ajax</category>
      <source url="http://www.infosecwriters.com/texts.php?op=display&amp;id=632">Web 2.0 Attacks Revealed</source>
    </item>
    <item>
      <title><![CDATA[Emergency notification displays to bolster Virginia Tech alert systems]]></title>
      <link>http://securityratty.com/article/af2170161cf2ecca1ccb2fdeb8ce6964</link>
      <guid>http://securityratty.com/article/af2170161cf2ecca1ccb2fdeb8ce6964</guid>
      <description><![CDATA[Virginia Tech, the scene of April 2007 campus killings, is adding 220 message displays to convey emergency alerts to students who are in classrooms where cell phones are not supposed to be...]]></description>
      <content:encoded><![CDATA[Virginia Tech, the scene of April 2007 campus killings, is adding 220 message displays to convey emergency alerts to students who are in classrooms where cell phones are not supposed to be used.
<p><a href="http://feeds.computerworld.com/~a/Computerworld/Security/News?a=uvUsTH"><img src="http://feeds.computerworld.com/~a/Computerworld/Security/News?i=uvUsTH" border="0"></img></a></p><img src="http://feeds.computerworld.com/~r/Computerworld/Security/News/~4/370330921" height="1" width="1"/>]]></content:encoded>
      <pubDate>Wed, 20 Aug 2008 09:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/virginia tech">virginia tech</category>
      <category domain="http://securityratty.com/tag/convey emergency alerts">convey emergency alerts</category>
      <category domain="http://securityratty.com/tag/message displays">message displays</category>
      <category domain="http://securityratty.com/tag/cell phones">cell phones</category>
      <category domain="http://securityratty.com/tag/campus killings">campus killings</category>
      <category domain="http://securityratty.com/tag/april">april</category>
      <category domain="http://securityratty.com/tag/scene">scene</category>
      <category domain="http://securityratty.com/tag/students">students</category>
      <category domain="http://securityratty.com/tag/classrooms">classrooms</category>
      <source url="http://feeds.computerworld.com/~r/Computerworld/Security/News/~3/370330921/article.do">Emergency notification displays to bolster Virginia Tech alert systems</source>
    </item>
    <item>
      <title><![CDATA[Technology Tales from Thailand: KBank Fraud Management]]></title>
      <link>http://securityratty.com/article/5f893d1cf14b7adbe58a329292652735</link>
      <guid>http://securityratty.com/article/5f893d1cf14b7adbe58a329292652735</guid>
      <description><![CDATA[In The Magical ATM Card and SMS Message in Thailand we talked about booking flights and securely paying using a SMS PayCode and ATM transfer, avoiding the possibility of on-line credit card fraud; and...]]></description>
      <content:encoded><![CDATA[<p>In <a title="The Magical ATM Card and SMS Message in Thailand" rel="bookmark" href="http://www.thecepblog.com/2008/08/03/the-magical-atm-card-and-sms-message-in-thailand/"><span style="color: #105cb6;">The Magical ATM Card and SMS Message in Thailand</span></a> we talked about booking flights and securely paying using a SMS PayCode and ATM transfer, avoiding the possibility of on-line credit card fraud; and in <a title="Keyloggers: Why Banks Need Two-Factor Authentication" rel="bookmark" href="http://www.thecepblog.com/2008/01/14/keyloggers-why-banks-need-two-factor-authentication/"><span style="color: #105cb6;">Keyloggers: Why Banks Need Two-Factor Authentication</span></a> I described how <a href="http://www.kasikornbank.com/portal/site/KBank/?" target="_blank">KBank</a> uses SMS-based one-time-passwords (OTP) to authenticate transactions.   </p>
<p>In addition to the above services, KBank offers a service that permits users to receive an SMS message that details any change in account balance and/or point-of-sale (POS) transaction with your debit card.   I really like this service and the feeling of security knowing when, where and by how much my balance changes or my debit card is used in a transaction.    The KBank POS SMS notification is so fast that when I present my card to a merchant I normally receive an SMS message detailing the transaction before the merchant returns for my signature.  (There is an unfortunate lag in the balance change notification that can run minutes to hours behind real-time, but the POS VISA debit card notification is real-time).</p>
<p>As the story goes,  I should have been using my KBank card and account a few weeks ago and not my US-based VISA debit dard.  Why?</p>
<p>My US-based VISA debit card was cloned sometime on or before August 8th.   I am really careful with this card, so I was surprised the magnetic strip was cloned at a POS merchant.   The fraudster made 7 fraudulent transactions beginning on August 8th for a total of around $2500 USD, mostly on August 11th, before I discovered the fraudulent transactions viewing my account on-line.</p>
<p>This would not have happened with KBank SMS-based transaction notification services.</p>
<p>The first transaction with my cloned VISA debit card was less than $50 USD (I assume the fraudster was &#8220;testing the water&#8221;).   If I was using my KBank card, I would have received an immediate SMS message detailing a POS transaction in Bangkok when I was physically far away from Bangkok in Chiang Mai.   I could have immediately called the bank (or logged in) and blocked the debit card, limiting potential losses to the bank or the merchant to one fraudulent transaction, not seven.</p>
<p>In addition, KBank offers what they call a Web-Shopping VISA card, where you can go into your on-line account (verified by SMS OTP as mentioned) and request a VISA debit card number (with expiration date, CCV etc).   You set the limit from 0 to 500,000 THB (Thai Baht) per day; and you can login to your account and change this anytime (authenticating your transaction with another SMS-based OTP). You can also block or cancel this number anytime and apply for another one.</p>
<p>I am amazed that in Thailand I receive much better anti-fraud prevention and detection services than with banks in the US.   I know of no bank or brokerage in the US that offers the same quality of service and security as KBank in Thailand.  </p>
]]></content:encoded>
      <pubDate>Wed, 20 Aug 2008 03:16:51 +0000</pubDate>
      <category domain="http://securityratty.com/tag/visa debit card">visa debit card</category>
      <category domain="http://securityratty.com/tag/debit card">debit card</category>
      <category domain="http://securityratty.com/tag/card">card</category>
      <category domain="http://securityratty.com/tag/visa card">visa card</category>
      <category domain="http://securityratty.com/tag/kbank">kbank</category>
      <category domain="http://securityratty.com/tag/kbank card">kbank card</category>
      <category domain="http://securityratty.com/tag/transaction">transaction</category>
      <category domain="http://securityratty.com/tag/transaction notification services">transaction notification services</category>
      <category domain="http://securityratty.com/tag/fraudulent transaction">fraudulent transaction</category>
      <source url="http://www.thecepblog.com/2008/08/20/technology-tales-from-thailand/">Technology Tales from Thailand: KBank Fraud Management</source>
    </item>
    <item>
      <title><![CDATA[Virginia Tech intros another emergency notification system]]></title>
      <link>http://securityratty.com/article/1cc1a31909fa60cd278c4fc81af0b55e</link>
      <guid>http://securityratty.com/article/1cc1a31909fa60cd278c4fc81af0b55e</guid>
      <description><![CDATA[When Virginia Tech's 28,000 students return to classes for the fall on Monday, they will benefit from another emergency mass notification system added over the summer in response to the April 2007...]]></description>
      <content:encoded><![CDATA[When Virginia Tech's 28,000 students return to classes for the fall on Monday, they will benefit from another emergency mass notification system added over the summer in response to the April 2007 campus killings of 32 people by a lone gunman.]]></content:encoded>
      <pubDate>Tue, 19 Aug 2008 20:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/virginia tech">virginia tech</category>
      <category domain="http://securityratty.com/tag/students return">students return</category>
      <category domain="http://securityratty.com/tag/campus killings">campus killings</category>
      <category domain="http://securityratty.com/tag/lone gunman">lone gunman</category>
      <category domain="http://securityratty.com/tag/classes">classes</category>
      <category domain="http://securityratty.com/tag/response">response</category>
      <category domain="http://securityratty.com/tag/summer">summer</category>
      <category domain="http://securityratty.com/tag/monday">monday</category>
      <category domain="http://securityratty.com/tag/people">people</category>
      <source url="http://www.networkworld.com/news/2008/082008-virginia-tech-intros-another-emergency.html?fsrc=rss-security">Virginia Tech intros another emergency notification system</source>
    </item>
    <item>
      <title><![CDATA[Unauthorized Well Fargo Transactions Endanger Private Details Of 7000 Clinets]]></title>
      <link>http://securityratty.com/article/a4622ceab74e4c671e2738aedde2d038</link>
      <guid>http://securityratty.com/article/a4622ceab74e4c671e2738aedde2d038</guid>
      <description><![CDATA[According to New Hampshire State Attorney General breach notification, a significant number of unauthorized transactions had been made using Well Fargos access codes. Wells Fargo Bank, N.A. has been...]]></description>
      <content:encoded><![CDATA[According to New Hampshire State Attorney General breach notification, a significant number of unauthorized transactions had been made using Well Fargo&#8217;s access codes.
Wells Fargo Bank, N.A. has been advised by a reseller of consumer data, including consumer credit bureau data, of suspicious transactions made using Wells Fargo access codes. The investigation confirmed that a significant [...]]]></content:encoded>
      <pubDate>Fri, 08 Aug 2008 17:35:58 +0000</pubDate>
      <category domain="http://securityratty.com/tag/transactions">transactions</category>
      <category domain="http://securityratty.com/tag/fargo access codes">fargo access codes</category>
      <category domain="http://securityratty.com/tag/suspicious transactions">suspicious transactions</category>
      <category domain="http://securityratty.com/tag/fargos access codes">fargos access codes</category>
      <category domain="http://securityratty.com/tag/breach notification">breach notification</category>
      <category domain="http://securityratty.com/tag/consumer data">consumer data</category>
      <category domain="http://securityratty.com/tag/fargo bank">fargo bank</category>
      <category domain="http://securityratty.com/tag/significant">significant</category>
      <category domain="http://securityratty.com/tag/attorney">attorney</category>
      <source url="http://cyberinsecure.com/unauthorized-well-fargo-transactions-endangers-private-details-of-7000-clinets/">Unauthorized Well Fargo Transactions Endanger Private Details Of 7000 Clinets</source>
    </item>
    <item>
      <title><![CDATA[Simulating Email in .NET]]></title>
      <link>http://securityratty.com/article/0c454dbe28b5b63d07ee0089e019de77</link>
      <guid>http://securityratty.com/article/0c454dbe28b5b63d07ee0089e019de77</guid>
      <description><![CDATA[I use email as a notification mechanism a lot, and often in class I'll demo sending email via a technique that I use frequently when developing code. It allows you to simulate sending an email...]]></description>
      <content:encoded><![CDATA[<p>I use email as a notification mechanism a lot, and often in class I&#39;ll demo sending email via a technique that I use frequently when developing code. It allows you to simulate sending an email message.</p> <p>The trick to doing this is not to hardcode things like host, port, etc. for your SMTP server when you use System.Net.Mail to send mail. Instead, use the default ctor for <a href="http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.aspx" target="_blank">SmtpClient</a> as I&#39;ve done in the code below.</p> <blockquote><pre class="csharpcode"><span class="kwrd">static</span> <span class="kwrd">void</span> Main(<span class="kwrd">string</span>[] args)
{
    <span class="rem">// note the use of the MailAddress class</span>
    <span class="rem">// this allows me to specify display names as well as email addresses</span>
    MailAddress from = <span class="kwrd">new</span> MailAddress(<span class="str">&quot;admin@fabrikam.com&quot;</span>, <span class="str">&quot;Fabrikam Website&quot;</span>);
    MailAddress to = <span class="kwrd">new</span> MailAddress(<span class="str">&quot;mari@fabrikam.com&quot;</span>, <span class="str">&quot;Mari Joyce&quot;</span>);

    MailMessage msg = <span class="kwrd">new</span> MailMessage(from, to);
    msg.Subject  = <span class="str">&quot;Testing 123&quot;</span>;
    msg.Body = <span class="str">&quot;This is only a test!&quot;</span>;

    <span class="rem">// note use of default ctor</span>
    <span class="rem">// this looks in config to figure out how to send mail</span>
    <span class="kwrd">new</span> SmtpClient().Send(msg);
}</pre></blockquote>
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, &quot;Courier New&quot;, courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }


<p>What you&#39;re telling .NET by using the default ctor for SmtpClient is, &quot;please use my config file to figure out how to send mail&quot;. Now you can use the system.net/mailSettings/smtp section in config to specify the details of your mail server, and all of the code in your app that is written to use the default SmtpClient ctor will inherit these settings. Here&#39;s an example of what the config on a production server might look like (if you put passwords in your config files, be sure to <a href="http://msdn.microsoft.com/en-us/library/ms998283.aspx" target="_blank">encrypt those sections</a>): </p><pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">configuration</span><span class="kwrd">&gt;</span>
  <span class="kwrd">&lt;</span><span class="html">system.net</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">mailSettings</span><span class="kwrd">&gt;</span>
      <span class="kwrd">&lt;</span><span class="html">smtp</span> <span class="attr">deliveryMethod</span><span class="kwrd">=&quot;Network&quot;</span><span class="kwrd">&gt;</span>
        <span class="kwrd">&lt;</span><span class="html">network</span> <span class="attr">host</span><span class="kwrd">=&quot;mail.fabrikam.com&quot;</span>
                 <span class="attr">port</span><span class="kwrd">=&quot;25&quot;</span>
                 <span class="attr">userName</span><span class="kwrd">=&quot;WebsiteMailAccount&quot;</span>
                 <span class="attr">password</span><span class="kwrd">=&quot;whatever&quot;</span><span class="kwrd">/&gt;</span>
      <span class="kwrd">&lt;/</span><span class="html">smtp</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;/</span><span class="html">mailSettings</span><span class="kwrd">&gt;</span>
  <span class="kwrd">&lt;/</span><span class="html">system.net</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">configuration</span><span class="kwrd">&gt;</span></pre><pre class="csharpcode">&nbsp;</pre>
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, &quot;Courier New&quot;, courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }


<p>During development, I use different settings because I don&#39;t usually want to deal with the hassle of installing an SMTP server on my development box. Instead, I want email messages delivered as individual files in a directory on my hard drive (I always have a c:\mail directory on my development box for just this purpose):</p>
<blockquote><pre class="csharpcode"><span class="kwrd">&lt;</span><span class="html">configuration</span><span class="kwrd">&gt;</span>
  <span class="kwrd">&lt;</span><span class="html">system.net</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;</span><span class="html">mailSettings</span><span class="kwrd">&gt;</span>
      <span class="kwrd">&lt;</span><span class="html">smtp</span> <span class="attr">deliveryMethod</span><span class="kwrd">=&quot;SpecifiedPickupDirectory&quot;</span><span class="kwrd">&gt;</span>
        <span class="kwrd">&lt;</span><span class="html">specifiedPickupDirectory</span> <span class="attr">pickupDirectoryLocation</span><span class="kwrd">=&quot;c:\mail&quot;</span><span class="kwrd">/&gt;</span>
      <span class="kwrd">&lt;/</span><span class="html">smtp</span><span class="kwrd">&gt;</span>
    <span class="kwrd">&lt;/</span><span class="html">mailSettings</span><span class="kwrd">&gt;</span>
  <span class="kwrd">&lt;/</span><span class="html">system.net</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">configuration</span><span class="kwrd">&gt;</span></pre></blockquote>
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, &quot;Courier New&quot;, courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }


<p>Now when I run the program above, I get a .EML file in my c:\mail directory:</p>
<p><a href="http://www.pluralsight.com/community/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/keith/image_5F00_2.png"><img style="border-right:0px;border-top:0px;margin:0px 0px 0px 35px;border-left:0px;border-bottom:0px;" height="230" alt="image" src="http://www.pluralsight.com/community/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/keith/image_5F00_thumb.png" width="404" border="0" /></a> </p>
<p>Outlook Express is normally registered as the viewer for .EML files, so double-click the file to view it:</p>
<p><a href="http://www.pluralsight.com/community/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/keith/image_5F00_4.png"><img style="border-right:0px;border-top:0px;margin:0px 0px 0px 35px;border-left:0px;border-bottom:0px;" height="287" alt="image" src="http://www.pluralsight.com/community/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/keith/image_5F00_thumb_5F00_1.png" width="292" border="0" /></a> </p>
<p>If you&#39;ve never seen this method of simulating email before, I hope you find it as useful as I have. Happy coding!</p><div style="clear:both;"></div><img src="http://www.pluralsight.com/community/aggbug.aspx?PostID=52305" width="1" height="1">]]></content:encoded>
      <pubDate>Fri, 01 Aug 2008 09:59:01 +0000</pubDate>
      <category domain="http://securityratty.com/tag/csharpcode pre">csharpcode pre</category>
      <category domain="http://securityratty.com/tag/pre">pre</category>
      <category domain="http://securityratty.com/tag/csharpcode">csharpcode</category>
      <category domain="http://securityratty.com/tag/color">color</category>
      <category domain="http://securityratty.com/tag/email">email</category>
      <category domain="http://securityratty.com/tag/email addresses mailaddress">email addresses mailaddress</category>
      <category domain="http://securityratty.com/tag/mailaddress">mailaddress</category>
      <category domain="http://securityratty.com/tag/mail server">mail server</category>
      <category domain="http://securityratty.com/tag/mail">mail</category>
      <source url="http://www.pluralsight.com/community/blogs/keith/archive/2008/08/01/simulating-email-in-net.aspx">Simulating Email in .NET</source>
    </item>
  </channel>
</rss>
