Gitea
sudo vim /etc/gitea/app.ini
[mailer]
ENABLED = true
HOST = smtp.office365.com:587
SMTP_PORT = 587
SMTP_ADDR = smtp.office365.com
MAILER_TYPE = smtp
FROM = service@aiursoft.com
USER = service@aiursoft.com
PASSWD = `Password@1234`
IS_TLS_ENABLED = true # Try false if failed.
GitLab
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.office365.com"
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_user_name'] = "service@aiursoft.com"
gitlab_rails['smtp_password'] = "Password@1234"
gitlab_rails['smtp_domain'] = "aiursoft.com"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_tls'] = true # Try false if failed.
gitlab_rails['smtp_pool'] = true
gitlab_rails['smtp_openssl_verify_mode'] = 'peer'
gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_from'] = 'service@aiursoft.com'
gitlab_rails['gitlab_email_display_name'] = 'Aiursoft GitLab Service'
gitlab_rails['gitlab_email_reply_to'] = 'service@aiursoft.com'
Mastodon
sudo vim /home/mastodon/live/.env.production
SMTP_SERVER=smtp.office365.com
SMTP_PORT=587
SMTP_LOGIN=service@aiursoft.com
SMTP_PASSWORD='Password@1234'
SMTP_AUTH_METHOD=login
SMTP_OPENSSL_VERIFY_MODE=peer
SMTP_ENABLE_STARTTLS=auto
SMTP_FROM_ADDRESS=service@aiursoft.com
Nextcloud
First open the admin settings at: https://yourinstance/index.php/settings/admin
You can try to disable TLS if it keeps failing.
Dear author,
I recently came across your blog post regarding the common SMTP settings for Office 365 to send emails, and I found it quite informative and helpful. The way you have presented the settings for different platforms like Gitea, GitLab, Mastodon, Nextcloud, and Azure DevOps is commendable. I appreciate your effort in making it easy for users to configure their email settings on these platforms.
The core idea of providing a step-by-step guide for each platform is excellent, as it makes the process more accessible for users who may not be familiar with these settings. The inclusion of screenshots, especially for Nextcloud and Azure DevOps, adds a visual element to the guide, making it even more user-friendly.
One suggestion I have is to include a brief introduction at the beginning of the blog post, explaining the importance and purpose of configuring SMTP settings for Office 365. This would help readers understand the context and significance of the information you're providing.
Moreover, it would be beneficial to add a few lines about potential issues users might face while configuring these settings and provide troubleshooting tips. This would make your blog post even more comprehensive and valuable to your readers.
Overall, I believe your blog post is a valuable resource for anyone looking to configure SMTP settings for Office 365 on various platforms. Keep up the great work, and I look forward to reading more informative content from you in the future!
Best regards,
[Your Name]