<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How To Send E-Mail From PowerShell</title>
	<atom:link href="http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/</link>
	<description>The Shell Is Calling</description>
	<lastBuildDate>Tue, 10 Jan 2012 04:24:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Darin</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-937</link>
		<dc:creator>Darin</dc:creator>
		<pubDate>Wed, 12 Oct 2011 18:58:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-937</guid>
		<description>Flog=Flag</description>
		<content:encoded><![CDATA[<p>Flog=Flag</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darin</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-936</link>
		<dc:creator>Darin</dc:creator>
		<pubDate>Wed, 12 Oct 2011 18:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-936</guid>
		<description>Is there a way to add a follow-up notification to the send-emailmessage like the header x-Message-Flog &quot;For your information&quot;?</description>
		<content:encoded><![CDATA[<p>Is there a way to add a follow-up notification to the send-emailmessage like the header x-Message-Flog &#8220;For your information&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Bishop</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-860</link>
		<dc:creator>Jeremy Bishop</dc:creator>
		<pubDate>Thu, 04 Aug 2011 14:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-860</guid>
		<description>I agree with you. This is evidently too much work compared to its other Linux counterparts. With the technology that we have right now, why don&#039;t the makers just make everything easier for the users?

Jeremy Bishop
&lt;a href=&quot;http://www.massage2motivate.com.au&quot; rel=&quot;nofollow&quot;&gt;info@massage2motivate.com.au&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I agree with you. This is evidently too much work compared to its other Linux counterparts. With the technology that we have right now, why don&#8217;t the makers just make everything easier for the users?</p>
<p>Jeremy Bishop<br />
<a href="http://www.massage2motivate.com.au" rel="nofollow">info@massage2motivate.com.au</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-571</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 09 Sep 2010 07:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-571</guid>
		<description>This is great!! I was so close to migrate ps v2 (it&#039;s not a quick migration!)

Hi, what if Exchange Server doesn&#039;t accept relay? credentials can be established??

Thanks</description>
		<content:encoded><![CDATA[<p>This is great!! I was so close to migrate ps v2 (it&#8217;s not a quick migration!)</p>
<p>Hi, what if Exchange Server doesn&#8217;t accept relay? credentials can be established??</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremie</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-542</link>
		<dc:creator>Jeremie</dc:creator>
		<pubDate>Tue, 06 Jul 2010 15:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-542</guid>
		<description>You can choose not to believe it, but the &quot;mail&quot; command has nothing to do with the shell, it&#039;s a program usually installed on distribution which allow you to send mails as well as reading your local mail-box with a textual interface.

For example, installing the &quot;mailutils&quot; package on Debian install the &quot;mail&quot; program.</description>
		<content:encoded><![CDATA[<p>You can choose not to believe it, but the &#8220;mail&#8221; command has nothing to do with the shell, it&#8217;s a program usually installed on distribution which allow you to send mails as well as reading your local mail-box with a textual interface.</p>
<p>For example, installing the &#8220;mailutils&#8221; package on Debian install the &#8220;mail&#8221; program.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-382</link>
		<dc:creator>Pierre</dc:creator>
		<pubDate>Mon, 07 Dec 2009 23:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-382</guid>
		<description>About the Net.Mime.MediaTypeNames classes in powershell.

I&#039;ve found an article that gives the solution how to get it from powershell.

The problem here is the &quot;.&quot; between MediaTypeName. You have to replace it by a &quot;+&quot;.

This gives for a jpeg:
[Net.Mime.MediaTypeNames+Image]::Jpeg
This gives you just a string back:
&quot;image\jpeg&quot;</description>
		<content:encoded><![CDATA[<p>About the Net.Mime.MediaTypeNames classes in powershell.</p>
<p>I&#8217;ve found an article that gives the solution how to get it from powershell.</p>
<p>The problem here is the &#8220;.&#8221; between MediaTypeName. You have to replace it by a &#8220;+&#8221;.</p>
<p>This gives for a jpeg:<br />
[Net.Mime.MediaTypeNames+Image]::Jpeg<br />
This gives you just a string back:<br />
&#8220;image\jpeg&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rex</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-160</link>
		<dc:creator>Rex</dc:creator>
		<pubDate>Mon, 05 Oct 2009 23:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-160</guid>
		<description>It works, but only attaches the last file in the dir list.</description>
		<content:encoded><![CDATA[<p>It works, but only attaches the last file in the dir list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rex</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-159</link>
		<dc:creator>Rex</dc:creator>
		<pubDate>Mon, 05 Oct 2009 23:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-159</guid>
		<description>I&#039;ll try it out. Thx for the response.</description>
		<content:encoded><![CDATA[<p>I&#8217;ll try it out. Thx for the response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-158</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 24 Sep 2009 20:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-158</guid>
		<description>To add something like *.txt, I would probably do:
PS C:\scripts\PowerShell&gt;Dir *.txt &#124; foreach-object { $attachment = New-Object System.Net.Mail.Attachment –ArgumentList $_.FullName, &#039;text/plain&#039;; $message.Attachments.Add($attachment) }
#not tested.. just off the top of my head..</description>
		<content:encoded><![CDATA[<p>To add something like *.txt, I would probably do:<br />
PS C:\scripts\PowerShell>Dir *.txt | foreach-object { $attachment = New-Object System.Net.Mail.Attachment –ArgumentList $_.FullName, &#8216;text/plain&#8217;; $message.Attachments.Add($attachment) }<br />
#not tested.. just off the top of my head..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-157</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 24 Sep 2009 20:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-157</guid>
		<description>Gregory,
Thanks for chiming in.
I agree that it is a simple function and should be part of the shell and it is in V2.  

And just to be nitpicky, I don&#039;t believe that mail in Linux is an &quot;OS&quot; command, but part of the shell installed.
Also, mail didn&#039;t first surface as a shell command until about V6 of AT&amp;T&#039;s Unix (per the mail man page), so V2 isn&#039;t that bad.</description>
		<content:encoded><![CDATA[<p>Gregory,<br />
Thanks for chiming in.<br />
I agree that it is a simple function and should be part of the shell and it is in V2.  </p>
<p>And just to be nitpicky, I don&#8217;t believe that mail in Linux is an &#8220;OS&#8221; command, but part of the shell installed.<br />
Also, mail didn&#8217;t first surface as a shell command until about V6 of AT&#038;T&#8217;s Unix (per the mail man page), so V2 isn&#8217;t that bad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregory Kirk</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-156</link>
		<dc:creator>Gregory Kirk</dc:creator>
		<pubDate>Thu, 24 Sep 2009 19:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-156</guid>
		<description>I think the poster&#039;s point is that while yes WE can write our out simple mail send function, in other OS&#039;s that has been handled already,and the users&#039; don&#039;t have to re-invent the wheel over and over.

Sending email is a such basic function, a simple and quick method of sending it SHOULD be part of powershell.</description>
		<content:encoded><![CDATA[<p>I think the poster&#8217;s point is that while yes WE can write our out simple mail send function, in other OS&#8217;s that has been handled already,and the users&#8217; don&#8217;t have to re-invent the wheel over and over.</p>
<p>Sending email is a such basic function, a simple and quick method of sending it SHOULD be part of powershell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rex</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-154</link>
		<dc:creator>Rex</dc:creator>
		<pubDate>Fri, 18 Sep 2009 19:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-154</guid>
		<description>How about to send/attache multiple files, like *.txt?</description>
		<content:encoded><![CDATA[<p>How about to send/attache multiple files, like *.txt?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Murawski</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-110</link>
		<dc:creator>Steven Murawski</dc:creator>
		<pubDate>Tue, 23 Jun 2009 20:57:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-110</guid>
		<description>As the previous comment mentions, there is a Send-MailMessage in Version 2 (this is the first release of PowerShell) which provides similar functionality.  Also, you don&#039;t have to go through those steps every time, you could wrap that in a script or function (which is one of the points of a shell language anyway.. solve the problem once and reuse the functionality).</description>
		<content:encoded><![CDATA[<p>As the previous comment mentions, there is a Send-MailMessage in Version 2 (this is the first release of PowerShell) which provides similar functionality.  Also, you don&#8217;t have to go through those steps every time, you could wrap that in a script or function (which is one of the points of a shell language anyway.. solve the problem once and reuse the functionality).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kludge</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-109</link>
		<dc:creator>Kludge</dc:creator>
		<pubDate>Tue, 23 Jun 2009 18:58:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-109</guid>
		<description>Way too much work. So there is no Linux equivalent mail command in Powershell? In Linux you could just

get-whatever &quot;stuff&quot; &#124; mail -s &quot;This is subject&quot; user@exapmle.com</description>
		<content:encoded><![CDATA[<p>Way too much work. So there is no Linux equivalent mail command in Powershell? In Linux you could just</p>
<p>get-whatever &#8220;stuff&#8221; | mail -s &#8220;This is subject&#8221; <a href="mailto:user@exapmle.com">user@exapmle.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://blog.usepowershell.com/2009/03/how-to-send-e-mail-from-powershell/comment-page-1/#comment-31</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Wed, 04 Mar 2009 18:59:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.usepowershell.com/?p=60#comment-31</guid>
		<description>Thanksfully in CTP3 we have Send-MailMessage!</description>
		<content:encoded><![CDATA[<p>Thanksfully in CTP3 we have Send-MailMessage!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

