Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't open ics file in message #85

Open
SergiiBondarenko1990 opened this issue Jun 18, 2020 · 0 comments
Open

don't open ics file in message #85

SergiiBondarenko1990 opened this issue Jun 18, 2020 · 0 comments

Comments

@SergiiBondarenko1990
Copy link

SergiiBondarenko1990 commented Jun 18, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant