# 配置email
> [参考](https://blog.csdn.net/kikajack/article/details/80341268?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-5.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-5.control)

```bash
# 进入email测试
bundle exec rails console

ActionMailer::Base.delivery_method

ActionMailer::Base.smtp_settings

Notify.test_email('roma@guanweiming.com', 'Hello World', 'This is a test message').deliver_now

```
