<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>odawara</author_name>
  <author_url>https://blog.hatena.ne.jp/odawara/</author_url>
  <blog_title>odawaraの「はてな de メモ」</blog_title>
  <blog_url>https://odawara.hatenadiary.org/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>自宅サーバを立てていると、イベントごとにサーバからメールを送りたくなることが多々ある(ルータのIPが変わるなど)こういう場合は、ローカルのSMTPサーバを使ってメールを送るのが常套手段らしいのだけど、昨今は俺俺SMTPサーバに優しくない世の中であり、かつ自前SMTPサーバを使っていると、メールの管理がややこしくなるのでGmailのアドレスからメールを送れるようにしてみたいと思った。 が、意外とやってる人がいなかった…。いや、Gmailをコマンドラインから使うというのをやってる人はいるのだけど、スクリプトから自動で、っていう人は簡単には見つからなかった。なのでやってみた。 環境はDebian/S…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fodawara.hatenadiary.org%2Fentry%2F20080914%2F1221409277&quot; title=&quot;シェルスクリプトからGmailのSMTPサーバを経由してメールを送る - odawaraの「はてな de メモ」&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>2008-09-14 01:21:17</published>
  <title>シェルスクリプトからGmailのSMTPサーバを経由してメールを送る</title>
  <type>rich</type>
  <url>https://odawara.hatenadiary.org/entry/20080914/1221409277</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
