internal 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=""_001_MSASEMAIL_NextPart_""
MIME-Version: 1.0
--_001_MSASEMAIL_NextPart_
Content-Type: text/plain; charset=""us-ascii""
{3}
--_001_MSASEMAIL_NextPart_
Content-Type: text/calendar; charset=""us-ascii""; method=REQUEST
{4}
--_001_MSASEMAIL_NextPart_--
";
return Common.FormatString(meetingRequestMime, from, to, subject, body, icalendarContent);
}