public static string CreateMeetingRequestMime(string from, string to, string subject, string body, string icalendarContent)
{
string meetingRequestMime =
@"From: {0}
To: {1}
Subject: {2}
Content-Type: multipart/alternative;
boundary=""---Next Part---""
MIME-Version: 1.0
-----Next Part---
Content-Type: text/plain; charset=""us-ascii""
{3}
-----Next Part---
Content-Type: text/calendar; charset=""us-ascii""; method=REQUEST
{4}
";
return FormatString(meetingRequestMime, from, to, subject, body, icalendarContent);
}