gitlab 添加stmp发送邮件

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'] = "[email protected]"
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'] = '[email protected]'

你可能感兴趣的:(gitlab)