Bitnami 上的电子邮件配置问题

您好。我在电子邮件方面遇到了问题,主要是不知道如何设置。基本上我已经完全配置了 Discourse,但它无法发送邮件。我是用 Bitnami 安装的,并遵循了他们的指南,但我仍然不确定!以下是我的配置:

smtp_address = “smtp-mail.outlook.com
smtp_port = 587
smtp_domain = example.com
smtp_user_name = ‘username@hotmail.com’
smtp_password = ‘emailpassword’
smtp_enable_start_tls = true

地址为:/opt/bitnami/apps/discourse/htdocs/config/discourse.conf:

但我的问题在于,当我进入 Discourse 进行测试时,它显示如下:


无论我怎么做,都无法解决这个问题。请帮忙!

1 个赞

I’m sorry, the bitnami package isn’t supported here.

If you didn’t follow the standard install you will need to ask whoever produced the installation you’ve used for support.

1 个赞

Ok, thanks. I have spent hours on this and I cannot figure it out.
Thanks for the assistance though.

1 个赞

You will likely have more luck if you follow the Standard Install which includes email setup.

There’s good reason why we can’t support third party packages. If you use the included discourse-setup it will prompt you for your email details.

There’s also a list of recommended mail providers which work well and are free for smaller communities.

1 个赞

Ok, does gmail work with discourse?

No, Gmail is totally unsupported, using Gmail to send email from Discourse is a breach of Google’s ToS.

Use one of the free service providers linked in the above doc with a supportable installation.

Just to be very clear, we can’t help you with this or any other Discourse issues if you’re on a Bitnami package. I would really urge you install discourse in the correct way - the process takes 30 minutes or less and will leave you with a significantly more reliable setup.

3 个赞

Alright, I appreciate it