Can a host without a domain name configure mail services?

Can a host without a domain name configure mail services?

Technically, Yes!

But it’s neither recommended nor is a Good practice to use IP address to host discourse instead of a FQDN and your mails would probably end up in spam or even worse getting rejected.

For this project, I use a Chinese qq mailbox server. Here is my configuration,


It’s not working.

What does Your /logs say?

I use the mail test function, this log record.

Started POST "/admin/email/test" for 117.136.45.67 at 2018-04-16 17:23:39 +0800
Processing by Admin::EmailController#test as */*
Parameters: {"email_address"=>"1056427114@qq.com"}
Sent mail to 1056427114@qq.com (30074.4ms)
Completed 422 Unprocessable Entity in 30109ms (Views: 0.3ms | ActiveRecord: 1.9ms)

But I didn’t receive the test email

Problem is with qq not discourse.

maybe try commenting the DISCOURSE_SMTP_AUTH in app.yml & rebuild?

I do not understand, can you explain clearly? thank you very much.

refer this thread:

1 Like

I did it, but it didn’t work.:joy:

Contact qq for help then. Discourse isn’t supposed to use mailboxes to send out notification emails.

1 Like

OK.thank you very much.