> in one of myrequirements i do need to eliminate the USAGE of CDO's and
send
mail...
can yu sugest me any other way/ways to send mails withput using CDO's in
dotnet ??
you can write your own implementation of SMTP protocol using Sockets.
basically you follow these steps:
let's have the e-mail:
au***@domain.com
1) you take the domain part of the email address (domain.com)
2) you ask the DNS server for the MX record of the domain (to know where to
send the email) (
http://c.ittoolbox.com/code/d.asp?d=1419&a=s) (the query
will return something like: smtp.domain.com)
3) you open a socket connection to the server returned in the MX record of
given domain (smtp.domain.com).
4) you follow the SMTP protocol to put the message content to the server
(
http://www.eggheadcafe.com/articles/20030316.asp).
for more references use google with "C# smtp".
regards,
Wiktor Zychla