You will be able to send email from whatever address you want, just specify the correct from address (e.g. xxx@mydomain.com
) when sending the email.
Send email from @my-domain.com using SendGrid in Azure
-
23-06-2022 - |
Pergunta
I have my web app working in azure. What I would like is to be able to send emails from xxx@mydomain.com. Is that possible using SendGrid? For example, if I use gmail's smtp, emails are sent from the email address specified in the NetworkCredentials user name, even if in the MailMessage I use a different email address. If I use SendGrid instead, will emails come from the user name created by azure or will I be able to achieve this?
Solução
Outras dicas
You will need to use what SendGrid calls "Whitelabels":
To access this page, log into https://app.sendgrid.com/ then click on Settings > Whitelabels > Domains:
SendGrid will then ask you to enter 3 CNAME records to prove that you own/ have authorised access to that domain.