Re: Pocket PC 2003 MAPI Attachments
From: David Bergeron (daveberg_at_Adelphia.net)
Date: 03/31/04
- Next message: dave: "Re: auto-run bug, is that a known issue ?"
- Previous message: Dave Lee: "Re: MS fails..."
- In reply to: Chris Anderson: "Pocket PC 2003 MAPI Attachments"
- Next in thread: Chris Anderson: "Re: Pocket PC 2003 MAPI Attachments"
- Reply: Chris Anderson: "Re: Pocket PC 2003 MAPI Attachments"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 31 Mar 2004 07:17:55 -0500
Are you using the VOMAPI classes?
"Chris Anderson" <pssupport@NOSPAM.ecspl.com.au> wrote in message
news:e37Ho1rFEHA.692@TK2MSFTNGP09.phx.gbl...
> Hi all
>
> I'm having a problem sending attachments to emails using MAPI under the
> Pocket PC 2003 environment. My code worked fine under Pocket PC 2002, but
> in 2003 attachments don't end up being sent properly. After I send a
> message and go to the Outbox of the Pocket PC Inbox, I can see and open
the
> attachment without any problems. However, when it's synchronised with the
> POP3 server, the attachment doesn't appear to the recipient, but instead a
> string such as the following:
>
> _000_0009_01C41353.658A6B00--
>
> is appended to the body text of the message.
>
> However, if I open the message in the Pocket PC Inbox before it is
> synchronised with the server and press Send, the attachment will be sent
to
> the recipient correctly the next time I synchronise with the POP3 server.
> So obviously I am attaching the file correctly, I must be just missing
some
> new flag or property that is required. At the bottom of this post I have
> attached the source of the messages once they have reached the recipient
(if
> that will help anyone), of one that had the attachment sent successfully
> (sent from the Pocket PC Inbox), and one that didn't (sent from my
program).
> Please note that I have removed the headers.
>
> I've tried comparing the following properties of the message and its
> attachment without pressing Send from the Pocket PC Inbox, and with it
> pressed, and they match exactly:
>
> PR_HASATTACH
> PR_MESSAGE_FLAGS
>
> PR_ATTACH_SIZE
> PR_ATTACH_METHOD
> PR_MSG_STATUS
>
> So there must be some other property that I'm not aware of that I now have
> to set?
>
> There seems to be no documentation at all on the Internet that can help me
> with this problem. I was hoping someone could help me with this, because
I
> have spent the last couple of days on this problem and got absolutely
> nowhere. Has anyone been able to send attachments successfully in Pocket
PC
> 2003? Does anybody know what might have changed from 2002? Does anyone
> have any suggestions? Any help will be very much appreciated.
>
> Regards
>
> Chris Anderson
>
>
> --------------------------------------------------------------------------
-- > --- > MSG SOURCE WHERE ATTACHMENT NOT SENT PROPERLY: > > <HEADER REMOVED> > Subject: From Program > Date: Fri, 26 Mar 2004 16:57:17 -0800 > MIME-Version: 1.0 > Content-Type: multipart/mixed; > boundary="----=_NextPart_000_0009_01C41353.658A6B00" > X-MimeOLE: Produced By Microsoft MimeOLE V5.00.1432.1 > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0009_01C41353.658A6B00 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > > -------------------------------------------------------------------------- -- > --- > MSG SOURCE WHERE ATTACHMENT NOT SENT PROPERLY: > > <HEADER REMOVED> > Subject: From Inbox > Date: Fri, 26 Mar 2004 16:57:15 -0800 > MIME-Version: 1.0 > Content-Type: multipart/mixed; > boundary="----=_NextPart_000_0006_01C41353.64593E00" > X-MimeOLE: Produced By Microsoft MimeOLE V5.00.1432.1 > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0006_01C41353.64593E00 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: base64 > > ------=_NextPart_000_0006_01C41353.64593E00 > Content-Type: text/plain; > name="TextDoc.txt" > Content-Transfer-Encoding: 7bit > Content-Disposition: attachment; > filename="TextDoc.txt" > > ------=_NextPart_000_0006_01C41353.64593E00-- > >
- Next message: dave: "Re: auto-run bug, is that a known issue ?"
- Previous message: Dave Lee: "Re: MS fails..."
- In reply to: Chris Anderson: "Pocket PC 2003 MAPI Attachments"
- Next in thread: Chris Anderson: "Re: Pocket PC 2003 MAPI Attachments"
- Reply: Chris Anderson: "Re: Pocket PC 2003 MAPI Attachments"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|