Multiple custom incoming email addresses?

Is it possible to configure multiple custom incoming email addresses for a category or group? For example, let’s say I have support@example.com and hello@example.com, and I want these to create topics in the same “Support” category? Will the “Custom incoming email address” field support this (e.g., as a comma-separated list of email addresses)?

If not, is this a feature that’s been discussed or considered?

3 Likes

Looks like you can do it with a bar | separator:

https://github.com/discourse/discourse/blob/master/spec/components/email/receiver_spec.rb#L1017

9 Likes

Thank you! I did some digging around in the code and didn’t find that. I guess I should have looked at the tests. :slight_smile:

3 Likes

I’ve tested this with more than two email addresses (e.g., jane@example.com|john@example.com|helen@example.com), and I’ve confirmed that messages to each address are placed in the specified category, so it works!

7 Likes

This still works, for the record. :slight_smile:

2 Likes