By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,315 Members | 1,736 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,315 IT Pros & Developers. It's quick & easy.

CDO.Message read & delivery receipt option

P: n/a
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 =
"xp**@mail.com";
or
msg.Fields["Disposition-notification-to"].Value = "xp**@mail.com";
or
msg.Fields["urn:schemas:mailheader:disposition-notification-to"].Value
= "xp**@mail.com";

without any success!
Can anyone help me?

Thanks one more time!

Sep 26 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a

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...fication-to%22
<br*****@gmail.comwrote in message
news:11*********************@50g2000hsm.googlegrou ps.com...
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 =
"xp**@mail.com";
or
msg.Fields["Disposition-notification-to"].Value = "xp**@mail.com";
or
msg.Fields["urn:schemas:mailheader:disposition-notification-to"].Value
= "xp**@mail.com";

without any success!
Can anyone help me?

Thanks one more time!

Sep 26 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.