Sending mail in Windows mobile application in Windows
问题 I am new to Windows Mobile Application. In my project, I want to send emails using microsoft.windowsmobile.pocketoutlook . I have the following code so far: private void btnsubmit_Click(object sender, EventArgs e) { try { totleave(); OutlookSession ol = new OutlookSession(); EmailMessage em = new EmailMessage(); //Recipient s1 = em.From; //Console.WriteLine(s1); Recipient r = new Recipient("iyalarasi.r", "iyalarasi.r@winxsolutions.com"); em.To.Add(r); em.Subject = "Request For Leave"; em