Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

CDO.Message read & delivery receipt option

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
brunovg@gmail.com - 26 Sep 2007 20:42 GMT
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!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.