Creating Outlook calendar invitations with SendGrid in Azure (C#, .NET)
问题 Been trying to find an example on how to create and send Outlook calendar invitations via SendGrid service and found none. I need the invitations to arrive as Outlook native invites rather than attachments too. A simple example or a link to one will help a lot! 回答1: Recently had the same issue with Sendgrid through SMTP. Not the best, but working example: MailMessage mailMessage = new MailMessage(); mailMessage.From = new MailAddress(emailfrom); //from mailMessage.To.Add(new MailAddress