views:

108

answers:

0

Hello, I am working on windows mobile 6.I want to send email but i don't how to configure emulator for send email.Somewhere gives that for send email we have to synchronize with exchange server.But i don't know how to configure.

I am using this code:-

            OutlookSession session = new OutlookSession();
            EmailMessage email = new EmailMessage();
            email.To.Add(new Recipient("email address"));
            email.Subject ="hi";
            email.BodyText = "test mail";
            email.Send(session.EmailAccounts[0]);

Thx in advance Pankaj