<?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"
	>
<channel>
	<title>Comments on: email from the shell</title>
	<atom:link href="http://www.bradrice.com/wposx/archives/62/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bradrice.com/wposx/archives/62</link>
	<description>This site is about scripting with a particular emphasis on OS X. Other things OS X, too.</description>
	<pubDate>Sat, 11 Oct 2008 02:58:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: bradrice</title>
		<link>http://www.bradrice.com/wposx/archives/62#comment-91</link>
		<dc:creator>bradrice</dc:creator>
		<pubDate>Fri, 25 Nov 2005 20:43:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradrice.com/wposx/?p=62#comment-91</guid>
		<description>Correct. Thanks for point this out. My blog converts straight to curly quotes. Sorry about any inconvenience. I'll see if I can fix that for future posts. Thanks for pointing out the error in the less than symbols not being together.

-Brad</description>
		<content:encoded><![CDATA[<p>Correct. Thanks for point this out. My blog converts straight to curly quotes. Sorry about any inconvenience. I&#8217;ll see if I can fix that for future posts. Thanks for pointing out the error in the less than symbols not being together.</p>
<p>-Brad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miles</title>
		<link>http://www.bradrice.com/wposx/archives/62#comment-90</link>
		<dc:creator>Miles</dc:creator>
		<pubDate>Fri, 25 Nov 2005 20:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradrice.com/wposx/?p=62#comment-90</guid>
		<description>I see that the special characters and subsequent text were stripped from my post. I'll try again:

( cat &#60; &#60; EOF
should be:
( cat &#60;&#60; EOF
That is, there should be no space between the &#60; symbols.

Also, the curly quotes on the sendmail and recipient lines should be changed to straight quotes.</description>
		<content:encoded><![CDATA[<p>I see that the special characters and subsequent text were stripped from my post. I&#8217;ll try again:</p>
<p>( cat &lt; &lt; EOF<br />
should be:<br />
( cat &lt;&lt; EOF<br />
That is, there should be no space between the &lt; symbols.</p>
<p>Also, the curly quotes on the sendmail and recipient lines should be changed to straight quotes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn Holwegner</title>
		<link>http://www.bradrice.com/wposx/archives/62#comment-72</link>
		<dc:creator>Shawn Holwegner</dc:creator>
		<pubDate>Fri, 19 Aug 2005 02:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradrice.com/wposx/?p=62#comment-72</guid>
		<description>A more apropos solution is to use the 'mail' command; sendmail -t is much like crafting your own tools when any standard screwdriver will do.

A comparable syntax to your note above is: echo stuff &#124; mail -s 'subject here' user@domain.biz.

As with your prior article, handling mail can become amazingly complex and archaic at times.  For PHP, I'd strongly sugggest a prerolled solution such as PHPMailer - so you don't have to contend wuith the multitude of problems which come with multipart, mime, attachments, et al.

A quick little hack that I used years ago to automatically send attachments from the command line (via crontab) was to install the mailer 'mutt' on the system, then 'mutt user@where.org -s 'Attachment for $DATE' -a attachfile </description>
		<content:encoded><![CDATA[<p>A more apropos solution is to use the &#8216;mail&#8217; command; sendmail -t is much like crafting your own tools when any standard screwdriver will do.</p>
<p>A comparable syntax to your note above is: echo stuff | mail -s &#8217;subject here&#8217; <a href="mailto:user@domain.biz">user@domain.biz</a>.</p>
<p>As with your prior article, handling mail can become amazingly complex and archaic at times.  For PHP, I&#8217;d strongly sugggest a prerolled solution such as PHPMailer - so you don&#8217;t have to contend wuith the multitude of problems which come with multipart, mime, attachments, et al.</p>
<p>A quick little hack that I used years ago to automatically send attachments from the command line (via crontab) was to install the mailer &#8216;mutt&#8217; on the system, then &#8216;mutt <a href="mailto:user@where.org">user@where.org</a> -s &#8216;Attachment for $DATE&#8217; -a attachfile</p>
]]></content:encoded>
	</item>
</channel>
</rss>
