Hi , I am thinking to host my website build with Blazor server in Azure. But I need to have the standard things to setUp such as Email and Database. So, I search around for sending email with blazor server but I could not find any to learn from. there
is SendGrid but some articles are old, so can anyone tell me which to use to send email , SendGrid or SMTP ? Would appreciate if you can provide help or code sample.
Your Blazor Server code runs on the web server, so sending an email from a Blazor app is the same as sending one from any ASP.NET Core app. The decision to use SendGrid or other third party mail providers (MailChimp, Twilio etc) has nothing to do with Blazor,
ASP.NET or Azure. That's a business decision based on your requirement.
Member
14 Points
105 Posts
Blazor Send Email in Azure
Oct 16, 2019 11:51 AM|SkyDriving|LINK
Hi , I am thinking to host my website build with Blazor server in Azure. But I need to have the standard things to setUp such as Email and Database. So, I search around for sending email with blazor server but I could not find any to learn from. there is SendGrid but some articles are old, so can anyone tell me which to use to send email , SendGrid or SMTP ? Would appreciate if you can provide help or code sample.
Thanks
All-Star
194869 Points
28101 Posts
Moderator
Re: Blazor Send Email in Azure
Oct 16, 2019 02:08 PM|Mikesdotnetting|LINK
Your Blazor Server code runs on the web server, so sending an email from a Blazor app is the same as sending one from any ASP.NET Core app. The decision to use SendGrid or other third party mail providers (MailChimp, Twilio etc) has nothing to do with Blazor, ASP.NET or Azure. That's a business decision based on your requirement.