るりまサーチ

最速Rubyリファレンスマニュアル検索!
8件ヒット [1-8件を表示] (0.010秒)
トップページ > クエリ:enable_starttls[x] > 種類:ライブラリ[x]

別のキーワード

  1. _builtin enable
  2. mkmf enable_config
  3. pop enable_ssl
  4. pop3 enable_ssl
  5. kernel enable_config

検索結果

net/smtp (7.0)

メールを送信するためのプロトコル SMTP (Simple Mail Transfer Protocol) を扱うライブラリです。

...25)
# SSLのコンテキストを作成してSSLの設定をし、context に代入しておく
# TLSを常に使うようにする
smtp.enable_starttls(context)
smtp.start() do
# send messages ...
end

TLS を使用したい場合は enable_tls を使用します。

require 'net/sm...