Ejemplo n.º 1
0
 public void SendAttachment(
     [CommandParameter("To")] IEmailAddressFacet emailAddress,
     [CommandParameter("Attachment")][FilterExtraData("Type", "File")] IFileSystemItemFacet attachment,
     [CommandParameter("Text", Optional = true)] ITextFacet message)
 {
     Process.Start("mailto:" + emailAddress.Value);
 }
Ejemplo n.º 2
0
 public void SendEmail(
     [CommandParameter("To")] IEmailAddressFacet emailAddress,
     [CommandParameter("Text", Optional = true)] ITextFacet message)
 {
     Process.Start("mailto:" + emailAddress.Value);
 }