<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zariganitosh</author_name>
  <author_url>https://blog.hatena.ne.jp/zariganitosh/</author_url>
  <blog_title>ザリガニが見ていた...。</blog_title>
  <blog_url>https://zariganitosh.hatenablog.jp/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>現状は動作確認のため自分の.Mac（MobileMe）を利用して認証メールを送信するようにしているが、本当はgmailを利用して送信したかった...。.Macメールでちゃんと送信できれば、そのまま設定を置き換えればgmailでも送信できそうなのもだが、何度やってもgmailからは送信してくれない...。調べていくと、gmailの場合はSMTPにTSLで接続する必要があるらしい。 しかし、RubyがSSL/TSLに対応しているのは1.9系かららしい。そのため、1.8系でgmailを利用するためには、以下のコードで拡張する必要があるようだ。 lib/smtp_tls.rbによる拡張 以下のコードを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzariganitosh.hatenablog.jp%2Fentry%2F20080727%2F1217222326&quot; title=&quot;restful_authenticationで認証メールをgmailから送信して、エイリアスアドレスで受信する - ザリガニが見ていた...。&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-07-27 14:18:46</published>
  <title>restful_authenticationで認証メールをgmailから送信して、エイリアスアドレスで受信する</title>
  <type>rich</type>
  <url>https://zariganitosh.hatenablog.jp/entry/20080727/1217222326</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
