Is it necessary to use Mailgun?

סיכום מבוסס בינה מלאכותית

In a support thread titled “Is it necessary to use Mailgun?”, Pratik_Sinha asks whether Mailgun is required or if G Suite can be used for email with Discourse. Stephen clarifies that G Suite is not supported for sending Discourse emails and warns that using the same domain for both G Suite and Discourse email breaks delivery. Pratik_Sinha seeks step-by-step guidance on setting up a subdomain for email, mentioning they use DigitalOcean and Namecheap. Stephen provides detailed MX record instructions for G Suite but later advises Pratik_Sinha to abandon G Suite entirely and use Mailgun directly with a subdomain. He explains that the root domain (@) should handle G Suite mail, while a subdomain (e.g., forum.example.com) should be configured for Mailgun. Pratik_Sinha struggles with DNS setup at Namecheap and requests direct help due to budget constraints as a nonprofit. Bas and Mittineague gently remind him that this forum offers guidance, not free labor, and suggest the marketplace for paid help — though Pratik_Sinha notes the cost is prohibitive. vitorl mentions successfully using G Suite with SendGrid on a subdomain, which Stephen confirms aligns with best practices. Pratik_Sinha decides to start fresh and requests clear instructions on configuring Mailgun with a subdomain. Stephen reiterates: use root domain for G Suite (if kept), subdomain for Mailgun — or, if ditching G Suite, assign the subdomain to Mailgun and keep the root domain for Discourse. Seshank_K asks for elaboration from vitorl, which Stephen confirms follows the same pattern. The thread ends with Pratik_Sinha preparing to follow Mailgun’s domain verification docs.

Is it necessary to use mailgun?
We can’t use gsuite?

No, Gsuite isn’t supported.

Thanks and we also need to use subdomain for email thing or I it necessary to access the website also?

Your email domain from Discourse can’t be the same domain as your Gsuite. If the domains are identical then Mailgun can’t deliver email to Google.

Sorry but can you give a step by step guide on how to do this

How to add subdomain and set it
We use digitalocean and namecheap and gsuite

I did this already, read up.

Oh yes will tell you if this works

my mail settings is set to gmail and not custom mx @Stephen

So enable Custom MX and add MX records for google too:

Name/Host/Alias Time to Live (TTL*) Record Type Priority Value/Answer/Destination
Blank or @ 3600 MX 1 ASPMX.L.GOOGLE.COM.
Blank or @ 3600 MX 5 ALT1.ASPMX.L.GOOGLE.COM.
Blank or @ 3600 MX 5 ALT2.ASPMX.L.GOOGLE.COM.
Blank or @ 3600 MX 10 ALT3.ASPMX.L.GOOGLE.COM.
Blank or @ 3600 MX 10 ALT4.ASPMX.L.GOOGLE.COM.

your given format is different @Stephen

If it’s urgent there are a number of consultants who will happily do a paid install for you in the marketplace.

I am getting so confused can you please do this for me as it is urgent

Also I am not getting the option to add new record

Urgent as it is non for profit we dont have anymore money to spend thats why @Stephen

If you’re having problems creating DNS records at NameCheap I would suggest reading their documentation or contacting their support.

https://www.namecheap.com/support/

I cannot save the MX record at first place it is showing error that’s why I cannot further add more records.

It would be really great if you will do it for us

I highly doubt this will happen Pratik.

This forum is to give pointers and advise. It’s not to do work for you, people here have jobs and such :slight_smile:
The Marketplace is the place for you to go, people like @pfaffman can help you get started for a not too large amount of money.

He charges $100 actually.
We don’t have this

That doesn’t leave you much choice. If you don’t have the money to spend to have someone else do the work, you could spend your time to fix things. As the saying goes, “Fast, Cheap, Good, pick two”. Assuming you don’t want “Bad” if you wait for others to do the work that leaves “Cheap, Slow”.

IMHO, I think the easiest thing for you to do at this point is to scrap your install and start fresh making sure you don’t make the same mistake. 30 minutes isn’t exactly what I’d call Slow. You could have done that several times since when you first posted in this topic.

Not sure what you mean by this. I use gsuite with my domain and I have sendgrid sending discourse emails under the subdomain forum.example.com