专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > 人工智能

ROR31 体会-3 mail server

发布时间:2011-07-03 09:11:56 文章来源:www.iduyao.cn 采编人员:星星草
ROR31 体验-3 mail server
install mail server

sudo apt-get install postfix

sudo apt-get install heirloom-mailx

http://wiki.ubuntu.org.cn/PostfixBasicSetupHowto

* Action Mailer Configuration

As Action Mailer now uses the Mail gem, this becomes as simple as adding to your config/environments/env.rb file:
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
  :address              => "smtp.gmail.com",
  :port                 => 587,
  :domain               => 'baci.lindsaar.net',
  :user_name            => '<username>',
  :password             => '<password>',
  :authentication       => 'plain',
  :enable_starttls_auto => true  }
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: