https://blog.csdn.net/u010856284/article/details/83650364
gitlab 11.4以后的添加stmp根据官网出现了配置,导致不能测试通过,以下是我的配置文件,并且完成了测试,可以粘贴使用:
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.qq.com"
gitlab_rails['smtp_port'] = 465
gitlab_rails['smtp_user_name'] = "2532264976@qq.com"
gitlab_rails['smtp_password'] = "djyeajzanhltdigh"
gitlab_rails['smtp_domain'] = "qq.com"
gitlab_rails['smtp_authentication'] = :login
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_tls'] = true
gitlab_rails['gitlab_email_from'] = '2532264976@qq.com'
---------------------
版权声明:本文为CSDN博主「lvhaidong520」的原创文章,遵循CC 4.0 by-sa版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/u010856284/article/details/83650364
Notify.test_email("sss@test.com","title","gitlab").deliver_now