Click here to get back home

Sending email programmatically

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    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
Sending email programmatically Jon Limmer 05-11-2006
Get Chitika Premium
Posted by Jon Limmer on May 11, 2006, 9:01 am
Please log in for more thread options
I'm working with Wndows Mobile 5.0 and VS 2005. I'm trying to figure a way
to create and send an email (like an automated alert/warning) from my
program and can't see how to do it. I've found no samples either. I had
assumed I'd use the Microsoft.WindowsMobile.Outlook interface.

Can someone point me in the right direction?

Thanks.
Jon



Posted by Jon Limmer on May 11, 2006, 9:20 am
Please log in for more thread options
Oops! I meant the Microsoft.WindowsMobile.PocketOutlook interface...



Posted by Matt on May 11, 2006, 2:30 pm
Please log in for more thread options
I just have a side question for you. Is your application running on
the Pocket PC? Do you want an Email to be put into the inbox when some
event happens or do you want the device to send an Email when some
event happens? I used to work with this all of the time, and I will
try to help you when you answer my questions.

Good Luck.

Matt


Posted by Jon Limmer on May 11, 2006, 2:38 pm
Please log in for more thread options
Hi Matt,

I am working with a Treo 700w which is available under the Windows Mobile
5.0 Pocket PC model, so the answer to your first question is 'yes'.

I want to be able to send an email from the Pocket PC application to some
other email user/account, either as a result of an event or because the user
chooses to do so. I am not trying to put an email into the user's inbox.

Jon



Posted by Matt on May 11, 2006, 3:26 pm
Please log in for more thread options
This is probably the best example I can find. I know that this sends a
message from the drafts, you can either simulate that, or actually
create a message in the drafts to use. Let me know if you ahve any
problems with this:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/html/ppc_inbox_and_ce_messaging_snmx.asp

Matt


Similar ThreadsPosted
How to trap the event when sending email with pocket outlook? November 6, 2006, 5:59 am
"Compose" email programmatically? February 6, 2006, 2:20 pm
how to "smart forward" email programmatically in WM5 ? March 10, 2006, 4:27 am
programmatically play new email notification: sound/buble/flash/vibrate? February 1, 2006, 3:45 pm
Sending XML over SMS? January 30, 2007, 2:29 pm
Sending SMS text October 7, 2005, 1:47 pm
Sending mail March 20, 2006, 4:11 am
Sending Message to Native App June 26, 2005, 10:02 pm
Sending binary data via SMS October 5, 2005, 8:30 pm
mms composing/sending/receiving? October 21, 2005, 4:40 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap