Tomiwa
Tomiwa

Reputation: 1044

How to use custom domain name email with Firebase Hosting

I am hosting my Angular web app on Firebase under a custom domain name. I bought the domain name via Namecheap.

Now I would like to receive email with my custom domain. E.g. send and receive email from [email protected]. I have set it up in cPanel but when I try to send to this email I get the following error:

<[email protected]>: unknown user: "[email protected]"
Reporting-MTA: dns; eforward3e.registrar-servers.com

Is this a Firebase, or Namecheap or cpanel issue? Any advice on how to fix this please?

Upvotes: 10

Views: 10163

Answers (2)

Plovm DevTeam
Plovm DevTeam

Reputation: 1

To those having a headache, you should never add the domain.com or subdomain.domain.com. Instead, use domain or subdomain but without the .com for the TXT and same for the CNAME (delete plovm.com if subdomain or .com)

Upvotes: 0

Sebastian Ghetu
Sebastian Ghetu

Reputation: 119

Firebase doesn't currently support email, so pointing your nameservers to Firebase isn't enough to set up email for your custom domain.

What you will have to do is point email requests to an email provider, not Firebase. That way, your https traffic goes to Firebase, while emails go to the email provider. To 'point email requests to an email provider', you will have to add MX records into your DNS from the Namecheap admin dashboard. The MX records would point to a third party email provider such as Zoho - I'm using Zoho myself and it's free for up to 5GB of storage.

Upvotes: 11

Related Questions