I have my web app working in azure. What I would like is to be able to send emails from [email protected]. 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?
3
votes
2 Answers
5
votes
You will be able to send email from whatever address you want, just specify the correct from address (e.g. [email protected]
) when sending the email.
1
votes
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.