Mailgun domain

From the docs: - Go to Domains and create a new domain. - Copy the domain and add it to your .env.server file. Is it a specific domain that Mailgun provides to me? Or is it the one that I bought over (e.g. godaddy?)
4 Replies
kapa.ai
kapa.ai•4w ago
Hi @santi_matero. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The domain you need to use for Mailgun is a specific domain provided by Mailgun, not your own domain that you might have purchased elsewhere (like GoDaddy). When you go to the Domains section in your Mailgun account and create a new domain, Mailgun will provide you with a domain specifically for sending emails through their service. This is the domain you should copy and add to your .env.server file. The process, as outlined in the Wasp documentation on using the Mailgun provider (https://wasp-lang.dev/docs/advanced/email#using-the-mailgun-provider), involves these steps: 1. Go to Mailgun and create an account. 2. Navigate to the Domains section in your Mailgun dashboard. 3. Create a new domain within Mailgun. 4. Copy the Mailgun-provided domain. 5. Add this domain to your .env.server file. Your .env.server file should then include a line like this:
MAILGUN_DOMAIN=your-mailgun-provided-domain.here
MAILGUN_DOMAIN=your-mailgun-provided-domain.here
This Mailgun-specific domain is what you'll use to send emails through their service when integrated with your Wasp application. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @santi_matero, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
miho
miho•4w ago
You usually register a subdomain that you'll use for ending emails with Mailgun, there are some tips by Mailgun: https://vimeo.com/1011419942
Sinch Mailgun
Vimeo
Adding your Domain - Mailgun Walkthrough
Join us for a walkthrough of the first step of your Mailgun journey - setting up your custom domain. We cover adding a domain, SPF/DKIM records, CNAME configuration…
santi_matero
santi_materoOP•4w ago
perfect thanks! if you had to choose between mailgun and sendgrid, which one would you opt for?
miho
miho•4w ago
I think both are fine 😊 try both and see what works for you the best
Want results from more Discord servers?
Add your server