CDO.Message read & delivery receipt option

B

brunovg

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 =
"(e-mail address removed)";
or
msg.Fields["Disposition-notification-to"].Value = "(e-mail address removed)";
or
msg.Fields["urn:schemas:mailheader:disposition-notification-to"].Value
= "(e-mail address removed)";

without any success!
Can anyone help me?

Thanks one more time!
 
S

sloan

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&...osoft.com/cdo/"+"disposition-notification-to"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top