Re: CDO 1.21 MAPI.Message Reply() method

Tech-Archive recommends: Speed Up your PC by fixing your registry



in this instance i'm using C sharp so yes Unicode is handled, im aware of
potential issues with CDO 1.21 but this one really shouldn't be one of them.
However, if its possible to accomplish this in a different language then im
happy to try that too.

"Dmitry Streblechenko" wrote:

What programmign language do yo uuse? Does it hanle Unicodestrings?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"AgentOrange" <AgentOrange@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:22A6DBF2-9153-49C6-BDE9-850116993645@xxxxxxxxxxxxxxxx
OK, this is what I was doing prior to trying the .Reply() option, was
building the whole message as a new one and then sending it.

The new message was being created using the subject and full body text of
the reply via Messages.Add() to get a new message object, and then only
the
recipients and attachments were added prior to sending. This gace the same
results in terms of the japanese characters showing as ??????, this also
happens when sending a comepletely new mail in the same manner (ie. no
previous reply text).

So i'm at a loss as to how to achieve the end result of sending japanese
emails via CDO 1.21 :-(

PS: didn't have much hair to begin with, that no gone too!

"Dmitry Streblechenko" wrote:

You would need to craete a new message and build the reply text
explicilty
in your code.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"AgentOrange" <AgentOrange@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:879B9890-41DC-419D-963D-3AD371C0B980@xxxxxxxxxxxxxxxx
So what options are available for me to replyto or send new mails that
contain these japanese characters?

Any pointers much appreciated

"Dmitry Streblechenko" wrote:

I don't think CDO 1.21 is very Unicode friendly, so I would not be
suprised
if it mangles the (modified) message body.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"AgentOrange" <AgentOrange@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:16ABD737-256B-4024-8269-024EC25D00DA@xxxxxxxxxxxxxxxx
Thanks Dmitry,

That makes sense, was using the Send() afterwards and that was
sending
as
expected.

1 question about this is, if I use .Reply to get a new message
object,
will
that message object retain all the properties of the original, for
example
I
wish to retain the charset settings (ie. Japanese) which im having
issues
with (Japanese showing as ????????).



"Dmitry Streblechenko" wrote:

Message.Reply returns a new message object with the recipients and
message
body prepopulated. It does *not* send the message; it is your
responsibility.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"AgentOrange" <AgentOrange@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:FA74063A-4C75-469C-A020-289AAA442BB7@xxxxxxxxxxxxxxxx
Hi,

Can anyone explain how this method actually works?

When I retrieve a MAPI.Message from Exchange and use the .Reply()
method
the
original sender doesn't receive a reply, nor do I get any errors
in
the
code.

Thanks, Mark












.



Relevant Pages

  • Re: how to remove attachment from Email
    ... OutlookSpy - Outlook, CDO ... and MAPI Developer Tool ... "Dmitry Streblechenko" wrote: ...
    (microsoft.public.win32.programmer.messaging)
  • Re: CDO 1.21 MAPI.Message Reply() method
    ... So i'm at a loss as to how to achieve the end result of sending japanese ... "Dmitry Streblechenko" wrote: ... OutlookSpy - Outlook, CDO ...
    (microsoft.public.win32.programmer.messaging)
  • Re: GAL reading and updation of data
    ... "Dmitry Streblechenko" wrote: ... OutlookSpy - Outlook, CDO ... Set objAddressEntries = AddrList.AddressEntries ...
    (microsoft.public.outlook.program_vba)
  • Re: CDO 1.21 MAPI.Message Reply() method
    ... OutlookSpy - Outlook, CDO ... and MAPI Developer Tool ... "Dmitry Streblechenko" wrote: ...
    (microsoft.public.win32.programmer.messaging)
  • Re: CDO 1.21 MAPI.Message Reply() method
    ... "Dmitry Streblechenko" wrote: ... OutlookSpy - Outlook, CDO ... wish to retain the charset settings (ie. Japanese) which im having issues ... original sender doesn't receive a reply, nor do I get any errors in the ...
    (microsoft.public.win32.programmer.messaging)