<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hokkai7go</author_name>
  <author_url>https://blog.hatena.ne.jp/hokkai7go/</author_url>
  <blog_title>実はhokkai7go</blog_title>
  <blog_url>https://blog.hokkai7go.jp/</blog_url>
  <categories>
  </categories>
  <description>RailsのAction MailerからExchange Onlineにメールを送ろうとしてなかなか送れない事象に悩まされました。結局の所今回大事だったことは 認証情報が合っているかログインして確認してみる 認証に使ったメールアドレスとメール送信時のMAIL FROMを一致させる必要がある smtp_settingsの:authenticationは :login ではなく login(環境変数で設定する場合はloginでよいということなのかもしれない) SMTP AUTHを個別のメールアドレスごとに有効にする必要がある ということでした。未来の自分を助けそうなのでメモしておきます。 確認方…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hokkai7go.jp%2Fentry%2F2021%2F03%2F23%2F144414&quot; title=&quot;Exchange OnlineのSMTPサーバ(587ポートTLS)にメールを送るテスト - 実はhokkai7go&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>2021-03-23 14:44:14</published>
  <title>Exchange OnlineのSMTPサーバ(587ポートTLS)にメールを送るテスト</title>
  <type>rich</type>
  <url>https://blog.hokkai7go.jp/entry/2021/03/23/144414</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
