static void SendMail(Args _args)
{
SysMailer mail;
InteropPermission permission = new InteropPermission(InteropKind::ComInterop);
str from,to;
;
permission.assert();
mail = new SysMailer();
body = ” The Body of the Mail “;
from = “abc@gmail.com”;
to = “xyz@gmail.com”;
sub=”the sub of the Mail”;
mail.quickSend(from,to,sub,,body);
}