<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ktat</author_name>
  <author_url>https://blog.hatena.ne.jp/ktat/</author_url>
  <blog_title>Practice of Programming</blog_title>
  <blog_url>https://ktat.hatenadiary.jp/</blog_url>
  <categories>
    <anon>FreeBSD</anon>
  </categories>
  <description>shellからメール送りたいときは、たいてい、mail コマンドを使うわけですが、たまにファイル添付したいときがあります。こちらを参考にしたところ、mutt を使えばいいようです。 % echo 'test' | mutt -s 'Test' -a ~/data/hoge.log -- メールアドレス最初の echo はメール本文 -s は、サブジェクト -a は、添付ファイル -- の後ろは、メールアドレスとみなす(-- メールアドレスが書かないとファイル名として認識されちゃいました) ちなみに、なんで、FreeBSDかっていうと、さくらのレンタルサーバだから。mutt のインストールは、h…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fktat.hatenadiary.jp%2Fentry%2F20090727%2F1248692709&quot; title=&quot;shellからファイル添付メール - Practice of Programming&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-07-27 20:05:09</published>
  <title>shellからファイル添付メール</title>
  <type>rich</type>
  <url>https://ktat.hatenadiary.jp/entry/20090727/1248692709</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
