Ejemplo n.º 1
0
 /// <summary>
 /// Extension method to add an event as attachment to a MailMessage
 /// </summary>
 /// <param name="message">Mail message</param>
 /// <param name="calEvent">Event</param>
 public static void AddEventAsAttachment(this MailMessage message, Event calEvent)
 {
     message.AddCalendarAsAttachment(CreateCalendar(calEvent));
 }