TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
venkat reddy
NA
18
668
DISABLE RSVP actions in the Microsoft teasm
Oct 9 2020 12:04 AM
Hi All,
How to turn of MicroSoft Teams RSVP actions(if we make RSVP=FALSE in the code).
I am using the below code
StringBuilder str =
new
StringBuilder();
str.AppendLine(
"BEGIN:VCALENDAR"
);
str.AppendLine(
"PRODID:-//Schedule a Meeting"
);
str.AppendLine(
"VERSION:2.0"
);
str.AppendLine(
"METHOD:REQUEST"
);
str.AppendLine(
"BEGIN:VEVENT"
);
str.AppendLine(
string
.Format(
"DTSTART:{0:yyyyMMddTHHmmssZ}"
, DateTime.UtcNow));
str.AppendLine(
string
.Format(
"DTSTAMP:{0:yyyyMMddTHHmmssZ}"
, DateTime.UtcNow));
str.AppendLine(
string
.Format(
"DTEND:{0:yyyyMMddTHHmmssZ}"
, DateTime.UtcNow.AddMinutes(15)));
//str.AppendLine("LOCATION: " + this.Location);
str.AppendLine(
string
.Format(
"UID:{0}"
, Guid.NewGuid()));
str.AppendLine(
string
.Format(
"DESCRIPTION:{0}"
, msg.Body));
str.AppendLine(
string
.Format(
"X-ALT-DESC;FMTTYPE=text/html:{0}"
, msg.Body));
str.AppendLine(
string
.Format(
"SUMMARY:{0}"
, msg.Subject));
str.AppendLine(
string
.Format(
"ORGANIZER:MAILTO:{0}"
, msg.From.Address));
str.AppendLine(
string
.Format(
"ATTENDEE;CN=\"{0}\";RSVP=FALSE:mailto:{1}"
, msg.To[0].DisplayName, msg.To[0].Address));
str.AppendLine(
"X-MICROSOFT-DISALLOW-COUNTER:TRUE"
);
str.AppendLine(
"BEGIN:VALARM"
);
str.AppendLine(
"X-MICROSOFT-CDO-BUSYSTATUS:BUSY"
);
str.AppendLine(
"TRIGGER:-PT15M"
);
str.AppendLine(
"ACTION:DISPLAY"
);
str.AppendLine(
"DESCRIPTION:Reminder"
);
str.AppendLine(
"END:VALARM"
);
str.AppendLine(
"END:VEVENT"
);
str.AppendLine(
"END:VCALENDAR"
);
Reply
Answers (
0
)
Save multiple files of only Jpg type in MVC
Get Min time and Max time from datatable date in C#