System.Web.Mail in v2: Ditching CDO?

I haven't had a reason to use it yet, so I have to ask... Is System.Web.Mail actual .NET code in v2 of the framework or will it still be a wrapper around CDO?

Back in the day, circa 2001, I guess I didn't care one way or another, but I was just reading in a forum about how someone was having problems with their Win2k3 config and couldn't send mail. Relatively easy as it is to write networking code (and semi-easy to speak SMTP), I don't understand why this wasn't just its own self-contained code in the first place.

2 Comments

  • Hi Jeff,



    For Whidbey (V2), the System.Web.Mail class will still use CDO internally. There is some work going on to support a native SMTP stack for post-Whidbey -- at which point in time the System.Web.Mail class will probably switch to using that internally instead.



    Thanks,



    Scott

  • Cool and the gang... good to hear. I thought about writing my own SMTP component after I read Wrox's "Professional .NET Network Programming" because they more or less provided starter code. The issue then became that looking at the SMTP spec and the million return codes were a bit daunting to implement. It might be a "simple" protocol but it's a lot of bases to cover!

Comments have been disabled for this content.