Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending emails from my domain with SendGrid

I have a question that I guess is not just related to SendGrid.

Say, I own a domain mydomain.com. If I want to be able to send emails from, for example, [email protected].

Right now, when I go and manage my domain, I can see that I have added some MX record values added there. By doing this, I am able to send email using Gmail.

However, with Sendgrid I find this a little bit more confusing. I have read through this: http://sendgrid.com/docs/User_Guide/whitelabel_wizard.html -- But I fail to see what should I do. I am using NameCheap, and all it comes to my mind is the following:

-> If I want to use Sendgrid to send emails from my application (Ruby on Rails), will I still be able to access my Gmail account and send emails using the same address ([email protected])? I mean, is it compatible to have both (Gmail and Sendgrid) configuration in my domain?

-> Why with Sendgrid I don't need to add any MX records?

like image 734
Hommer Smith Avatar asked Jul 08 '13 06:07

Hommer Smith


People also ask

WHAT IS A from domain in SendGrid?

Domain authentication, formerly known as domain whitelabel, shows email providers that SendGrid has your permission to send emails on your behalf. To give SendGrid permission, you point DNS entries from your DNS provider (like GoDaddy, Rackspace, or Cloudflare) to SendGrid.

How do I authenticate my domain in SendGrid?

Initiate domain authenticationStart by logging in to your SendGrid account. In the left-side navigation bar, open “Settings” and then select Sender Authentication. In the Sender Authentication page click the “Get Started” button in the “Domain Authentication” section.

Do you need a domain to use SendGrid?

Domain AuthenticationYou will be required to create a subdomain so that SendGrid can generate the DNS records which you must give to your host provider. If you choose to use Automated Security, SendGrid will provide you with 3 CNAME records.

Can SendGrid send from multiple domains?

Yes, it's possible to authenticate multiple domains. When multiple authenticated domains exist on your account, SendGrid will use the from address for each email you send through SendGrid and match it to a domain and branded link.


1 Answers

First and foremost, the MX records for your domain are used only to specify the hostnames of the servers to handle INCOMING mail for your domain - i.e. the MX records have nothing to do with the servers that are used to send outgoing mail. You can use both Gmail's outgoing mail servers and Sendgrid's outgoing mail servers (and any other outgoing SMTP servers for that matter) to send outgoing mail for you domain. The only caveat to this is if you have an SPF record setup for your domain, but you didn't mention one so I won't elaborate.

like image 93
mti2935 Avatar answered Sep 20 '22 15:09

mti2935