ActiveCampaign / postmark-dotnet

A .NET library for the Postmark API
http://developer.postmarkapp.com/
Other
50 stars 46 forks source link

don't open ics file in message #85

Open SergiiBondarenko1990 opened 4 years ago

SergiiBondarenko1990 commented 4 years ago

PostmarkMessage message; message.Attachments.Clear(); byte[] bytes = System.Text.Encoding.ASCII.GetBytes(strICSData); message.AddAttachment(bytes , "meeting.ics", "text/calendar"); var client = new PostmarkClient("") var sendResult = await client.SendMessageAsync(message);

in OutLook message added .ics file but file should be open in calendar Annotation 2020-06-18 182729