Showing posts with label Email. Show all posts
Showing posts with label Email. Show all posts

Tuesday, 4 December 2012

Email Example

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);

}