PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Email Attachments

I need information on how to create a new outgoing email message and specify a file attachment (on Pocket PC of course). Funny how things like that and "send via IR" are Microsoft licensing requirements, yet they provide no information at all on how to implement it.

The CE docs describe the "Mail API", which appears unique to Windows CE. I can call those functions without errors, but I do not see the results of creating emails within Inbox. I can't find the first line of source illustrating the usage of that API. So is the Mail API the way to go, or should I use POOM?

Thanks!

Dan East
POOM.

MAPI on PPC is frought with problems.  And, since it seems to me, that it is not the 'same' as the desktop version, it would lead me to belive that MS will change it.
I've heard POOM behaves very erroneously on PPC 2002.
ook!

Oh well.  Maybe Dan, if you tell us what you are trying to do, we can be more useful to you.
Fire up Pocket Word, Excel, File Explorer or anything else. Tap hold on a file in their initial file list, and select "Send via E-mail...". That's all I want to do. Create a new email message and specify an attachment.

Dan East
Boogaloo_Shrimp · 06 Nov 2001, 13:36 UTC
I'm using pocket pc 2002. I haven't had any trouble emailing or receiving attachements on my pocket pc. I always create a new Email, then Edit>Add Attachment. That's it easy no problems. Oh, and Send via Email... works for me with no problems. Odd you're having problems :(
To clarify, I'm not having any problems. I want to add that capability (send via mail) into an application I'm writing.

Dan East
Boogaloo_Shrimp · 06 Nov 2001, 13:51 UTC
woops silly me ~~*:P*~~
POOM still sounds good to me.  I have heard of no problems with PPC2002, but there may be some.  Anyway, I don't like MAPI, I have had problems with it, so I use POOM.

There is a ton of sample code in the MSDN on it too, which is another reason to look at it.

Even on the desktop, I would rather use something like CDNTS than MAPI.  Bottom line is, POOM is direct access to Outlook, and MAPI is not.  Since you are guaranteed Outlook is installed, directly calling its API is far better and far easier.  But, this is all IMHO.

I would post some psuedo for you to do what you want to do, but you are DAN EAST - CODEMASTER, so I figured you only wanted oppinion. ;)
Actually, I can't find crap on POOM. That's why I posted. :( Nothing I see in the docs pertain to email. I see the interfaces for City, Appointments, Contacts, Recipients (as pertaining to an appointment), etc. Nothing at all about mail. Same with the MSDN samples. Heck, I can't even find a valid link to download the POOM SDK. I see a bad link (http://msdn.microsoft.com/cetools/platform/poomsdk.asp) in many different pages, but nothing that works. Man, MS sucks so bad.

Dan East
Yet another bad link in MSDN to the POOM SDK:
http://www.microsoft.com/mobile/downloads/developer/poomsdk.asp

What is their freaking problem? Have I ever told you guys how bad MS sucks?

Dan East