OpenPNE3 で Gmail の SMTP サーバを使ってメールを送信する方法
OpenPNE3 の master ブランチを追いかけている人(日本時間の 19:30 くらいから使えるようになりました!)もしくは OpenPNE 3.4 を導入する予定の人向け
config/OpenPNE.yml で mail_smtp_host と mail_smtp_config を以下のように設定してください。
# config/OpenPNE.yml # SNS から SMTP 経由でメールを送信する場合の SMTP サーバのホスト名 # Hostname of the SMTP server for sending e-mail via SMTP mail_smtp_host: "smtp.gmail.com" # SNS から SMTP 経由でメールを送信する場合の SMTP の設定 # Config of the SMTP for sending e-mail via SMTP mail_smtp_config: auth: "login" username: "yourname@gmail.com" password: "yourpassword" ssl: "tls" port: 587