DEV Community

Cover image for You have a new domain but no email address from it?

You have a new domain but no email address from it?

Image description

So you bought a cool domain name maybe from one of these:
Image description
or godaddy or cloudflare, etc...

Let's say it's "sausagedogsrule.com" (available)

Image description
But a domain is half the battle I want to send emails from ziggy@sausagedogsrule.com and I want to do it for free and quickly (as a user)

You can set this up many way, most registers will have a built in email forwarding service but let's check out Cloudflare Email Routing today

Here's the UI

Image description

Image description

Image description

How do we get this step, well I'd recommmend using Cloudflare for your DNS;

What's DNS in human terms
It's the yellow pages if you don't have those in your country or are too young, its a book where businesses would put there name "Handy Man Steve" which is who you are looking for but how do you connect to him? Well it would list his phone number(ip), address(mailto) etc) you are now resolved to contact him.

Image description

That's DNS!

It sounds techy but anyone can do it the full guide is here but login to cloudflare click add a Domain.

Once you've added a domain it will generate some things for you to copy paste into namecheap, or (just buy the domain from cloudflare then steps are needed)

Enable Email Routing as per above and make some Routing rules.

Image description

If you have gmail these steps are for you, but they are similar for all mail providers. Create or own a free gmail you would like to receive and send from.

You can also catch all emails sent to "@sausagedogsrule.com" with a catch all (may introduce spam but gmail does filter as per norm)

Image description

Head to gmail done enough of the cloud for now.

  • Go to settings in gmail ⚙️
  • Click see all settings
  • Navigate to "Accounts and Import"
  • Add another email address, uncheck treat this as an alias
  • SMTP Server: smtp.gmail.com
  • port: 587
  • your GMAIL username and password

Image description

Image description

Image description

Done!

When you send an email there's now a drop down for your sender email

Image description

You're desktop email client supports this (usually) go to account and add "an alias"

Image description

Cheers, you are now sending and recieving as cool as a Sausage Dog; for free.

Top comments (1)

Collapse
 
jswhisperer profile image
Greg, The JavaScript Whisperer

Amazon Simple Email Service is very similar to Cloudflare as another option. But cloudflare's way cooler in my books.