does system.web.mail internally use CDO's??

  • Thread starter Thread starter SenthilVel
  • Start date Start date
S

SenthilVel

hi can any let me know if "System.Web.Mail" Name space used CDO to send
mails??



,,,,,

Senthil
 
Ciaran
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 ??

Thanks
Senthil
 
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: (e-mail address removed)

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
 

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

Back
Top