Click here to get back home

how to send mails using PocketOutLook

 HomeNewsGroups | Search | About
 microsoft.public.smartphone    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
how to send mails using PocketOutLook Yoshitha 09-05-2006
Posted by Yoshitha on September 5, 2006, 3:08 pm
Please log in for more thread options
Hi all

using pocketoutlook i'm sending mails in smartphone devices.

here is my code

using Microsoft.WindowsMobile.PocketOutlook;

OutlookSession outsess;
outsess = new OutlookSession();

EmailAccountCollection coll =

outsess.EmailAccounts;
foreach (EmailAccount ee in coll)
{
MessageBox.Show(ee.Name);
}
EmailMessage message = new EmailMessage();
Recipient recipe = new

Recipient("tulasikumar@nannacomputers.com");
message.To.Add(recipe);
message.Subject = "HI";
message.BodyText = "This is tulasi";
//Attachment attach=new Attachment();
EmailAccount ema = outsess.EmailAccounts[1];
ema.Send(message);


when i click on send mail button in my application which is

running in smartphone 2005 then the mail is residing in

outbox of the outlook in smartphone2005 and when i goto

outbox folder and click on send/receive then only the mail

is sending other wise it is staying in outbox only, but

without clicking on send/recive option in outbox i want to

send the mail to specified address when i click send button

in my application can any one tell me how to do this one.
its very urgent for me


Is the above code i've writen is right to send the mails if not please let
me know.

Thanx in advance
Tulasi.








Similar ThreadsPosted
Cisco Voice Mails November 21, 2005, 11:29 am
Strange problem with mails sent from device November 17, 2006, 4:40 pm
Replied mails on IMAP servers being deleted? September 21, 2007, 6:06 am
Send SMS messages to/from server April 22, 2006, 7:16 pm
Cant send playlist to spv c550 May 16, 2006, 6:16 am
Can i use ActiveSync to write and send SMS ? January 8, 2007, 1:21 am
MPX220 - send email with attachment!? June 12, 2005, 4:05 pm
C500 Send Business Card June 16, 2005, 3:01 pm
Can't send email through POP3 account October 1, 2006, 9:07 pm
Send and Receive money with smartphone May 22, 2007, 3:34 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap