Attaching a file to an iCalendar
问题 I have iCalendar meeting requests sending correctly via SMTP (using the code below), but when I attempt to attach a file, the file does not appear as part of the iCalendar. When saving out the .ics after opening it in outlook, the whole file data has been stripped out. Here's the code I'm using: System.Net.Mail.MailMessage msg = new System.Net.Mail.MailMessage(); msg.From = new System.Net.Mail.MailAddress("test1@test.com", "test1"); msg.To.Add(new System.Net.Mail.MailAddress("test2@test.com",