Hello,
There's any way to configure a CDO.Message object to set the read and
delivery receipt option, in C#?
I already tried:
CDO.Message msg = new CDO.Message();
...
msg.Fields[CDO.CdoMailHeader.cdoReturnReceiptTo].Value =
"xpto@mail.com";
or
msg.Fields["Disposition-notification-to"].Value = "xpto@mail.com";
or
msg.Fields["urn:schemas:mailheader:disposition-notification-to"].Value
= "xpto@mail.com";
without any success!
Can anyone help me?
Thanks one more time!
sloan - 26 Sep 2007 22:19 GMT
Hmm.
Look here:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!138.entry
Download the sample code.
Look at the 1.1 code.
Find these (type of) lines:
emailMsg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
serv.SmtpUserPassword );
And see if you can figure it out from there.
I'm not famaliar with the one you mention.
I'm guessing here, so take it with a grain of salt.
But I did see some results/hits here:
http://www.google.com/search?hl=en&q=%22http%3A%2F%2Fschemas.microsoft.com%2Fcdo
%2F%22+%22disposition-notification-to%22
> Hello,
>
[quoted text clipped - 17 lines]
>
> Thanks one more time!