Can't send mail (try with smpt and sendmail method) on 6.7
Created by: zoic21
Hi,
I got a problem on send mail. I use gmail server with my own domain name. On console send mail is ok (I used ssmtp program and I test with command mail). On gitlab I just have this line : config.action_mailer.delivery_method = :sendmail And it doesn't work : worker process say timeout
So I tried with smtp method : config.action_mailer.delivery_method = :sendmail And on smtp_setting.rb :
To enable smtp email delivery for your GitLab instance do next:
#1 (closed). Rename this file to smtp_settings.rb #2 (closed). Edit settings inside this file #3 (closed). Restart GitLab instance
if Rails.env.production? Gitlab::Application.config.action_mailer.delivery_method = :smtp
ActionMailer::Base.smtp_settings = { address: "gmail.com", port: 465, user_name: "[email protected]", password: "_", domain: "domaine.fr", authentication: :plain, enable_starttls_auto: true } end
I restart gitlab and test but worker process say timeout again.
What I'am doing wrong ?
Thank in advance