<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://powershell.com/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Thomas Lee's PowerShell Scripts : System/Net.Mail.SMTPClient</title><link>http://powershell.com/cs/blogs/powershell-scripts/archive/tags/System_2F00_Net.Mail.SMTPClient/default.aspx</link><description>Tags: System/Net.Mail.SMTPClient</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 (Build: 30929.2835)</generator><item><title>Send-SMTPMessage.ps1</title><link>http://powershell.com/cs/blogs/powershell-scripts/archive/2008/11/19/send-smtpmessage-ps1.aspx</link><pubDate>Thu, 20 Nov 2008 01:38:00 GMT</pubDate><guid isPermaLink="false">f421715f-7aba-45f0-8a8d-44de5318a3a7:573</guid><dc:creator>PowerShell Scripts</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://powershell.com/cs/blogs/powershell-scripts/rsscomments.aspx?PostID=573</wfw:commentRss><comments>http://powershell.com/cs/blogs/powershell-scripts/archive/2008/11/19/send-smtpmessage-ps1.aspx#comments</comments><description># Send-SMTPMessage.ps1 # MSDN Sample, recoded using PowerShell # Thomas Lee - tfl@psp.co.uk # Create from/to addresses $from = New - Object system.net.mail.MailAddress &amp;quot; powershell@psp.co.uk &amp;quot; $to = New - Object system.net.mail.MailAddress tfl @ psp.co.uk # Create Message $message = new - object system.net.mail.MailMessage $from , $to $message .Subject = &amp;quot; Using the SmtpClient class...(&lt;a href="http://powershell.com/cs/blogs/powershell-scripts/archive/2008/11/19/send-smtpmessage-ps1.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://powershell.com/cs/aggbug.aspx?PostID=573" width="1" height="1"&gt;</description><category domain="http://powershell.com/cs/blogs/powershell-scripts/archive/tags/PowerShell+Scripts/default.aspx">PowerShell Scripts</category><category domain="http://powershell.com/cs/blogs/powershell-scripts/archive/tags/PowerShell/default.aspx">PowerShell</category><category domain="http://powershell.com/cs/blogs/powershell-scripts/archive/tags/System_2F00_Net.Mail.SMTPClient/default.aspx">System/Net.Mail.SMTPClient</category><category domain="http://powershell.com/cs/blogs/powershell-scripts/archive/tags/System.Net.Mail.Mailaddress/default.aspx">System.Net.Mail.Mailaddress</category><category domain="http://powershell.com/cs/blogs/powershell-scripts/archive/tags/mail/default.aspx">mail</category></item></channel></rss>