标签:忘记 auto auth word loading 日志 irb product shell
[root@test32 ~]# vi /etc/gitlab/gitlab.rb[root@test32 gitlab]# gitlab-ctl reconfigure
测试
[root@test32 gitlab]# gitlab-rails console
-------------------------------------------------------------------------------------
GitLab: 11.7.5 (c5b5b18)
GitLab Shell: 8.4.4
postgresql: 9.6.11
-------------------------------------------------------------------------------------
Loading production environment (Rails 5.0.7.1)
irb(main):003:0> Notify.test_email(‘自己的能收邮件的邮箱@qq.com‘, ‘Message Subject‘, ‘Message Body‘).deliver_now
然后输出一大串日志,成功的话能看出来,而且能收到邮件, 然后去网页试试忘记密码输入邮箱会收到一个重置密码的邮件
标签:忘记 auto auth word loading 日志 irb product shell
原文地址:http://blog.51cto.com/12390045/2350232