You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.8 KiB

Email Notification Setup

Gitea

  • edit ./gitea/gitea/conf/app.ini
  • test send mail from Configuration Page
  • Office365
[mailer]
ENABLED = true
FROM = mitl-noreply@mitech-ltd.com.sg
PROTOCOL = smtp+starttls
SMTP_ADDR = smtp.office365.com
SMTP_PORT = 587
USER = mitl-noreply@mitech-ltd.com.sg
PASSWD = mypassword
IS_TLS_ENABLE = true
  • Gmail
[mailer]
ENABLED = true
FROM = mitl-noreply@mitech-ltd.com.sg
PROTOCOL = smtps
SMTP_ADDR = smtp.gmail.com
SMTP_PORT = 465
USER = mitl-noreply@gmail.com
PASSWD = mypassword
IS_TLS_ENABLE = true

Redmine

  • edit ./config/configuration.yml
  • test sendmail by add a note on an issue
  • Office 365
default:
  email_delivery:
    delivery_method:  :smtp
    smtp_settings:
      enable_starttls_auto: true
      address: "smtp.office365.com"
      port: 587
      domain: "mitech-ltd.com.sg"
      authentication: :login
      user_name: "mitl-noreply@mitech.com.sg"
      password: "mypassword"
  • Gmail
default:
  email_delivery:
    delivery_method:  :smtp
    smtp_settings:
      enable_starttls_auto: true
      address: "smtp.gmail.com"
      port: 587
      domain: "mitech-ltd.com.sg"
      authentication: :plain
      user_name: "mitl-noreply@gmail.com"
      password: "mypassword"

Jenkins

  • Goto Manage Jenkins > System
  • Under Email Notification, settings
    • SMTP server : smtp.office365.com
    • Default user e-mail suffix : @mitech-ltd.com.sg
    • Advanced
      • Check Use SMTP Authentication
        • User Name : mitl-noreply@mitech-ltd.com.sg
        • Password : mypassword
      • Check Use TLS
      • SMTP Port : 587
      • Reply-To Address : mitl-noreply@mitech-ltd.com.sg
  • Use Test configuration to test the setup

Email Notification