private void SendWithMail() { var selectedfiles = ListerManager.Instance.ListerViewManager.CurrentListerView .GetSelection().Select(s => s.FullPath); var message = new MapiMailMessage("", ""); foreach (var file in selectedfiles) { message.Files.Add(file); } message.ShowDialog(); }
/// <summary> /// Adds a new recipient with the specified address, display name and recipient type to this collection. /// </summary> public void Add(string address, string displayName, MapiMailMessage.RecipientType recipientType) { this.Add(new Recipient(address, displayName, recipientType)); }
/// <summary> /// Creates a new recipient with the specified address, display name and recipient type. /// </summary> public Recipient(string address, string displayName, MapiMailMessage.RecipientType recipientType) { Address = address; DisplayName = displayName; RecipientType = recipientType; }
/// <summary> /// Adds a new recipient with the specified address and recipient type to this collection. /// </summary> public void Add(string address, MapiMailMessage.RecipientType recipientType) { this.Add(new Recipient(address, recipientType)); }
/// <summary> /// Creates a new recipient with the specified address and recipient type. /// </summary> public Recipient(string address, MapiMailMessage.RecipientType recipientType) { Address = address; RecipientType = recipientType; }