Re: System.Web.Mail.Smtp namespace

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Shawn" <TechniShawn@xxxxxxxxx> wrote in news:1120169320.871829.89400
@g43g2000cwa.googlegroups.com:
> You can use a networkstream, a streamreader and a tcpClient to open a
> connection to your smtp server and communicate with it directly. I
> don't need to send attachments though so I don't have any experience
> with that.

This is a very bad idea. SMTP base protocol is very simple, but with authenticatino, EHELO, and other
extensions user code is quickly broken.

You can try something like Indy, which is free and implements all of this:
http://www.indyproject.org/


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
.



Relevant Pages

  • Re: IIS - SMTP - CDONTS
    ... You should always be able to get a connection, ... So the domain where this was not successful, ... What we did was more or less what the SMTP server do. ... the email is coming from a "real" email server, ...
    (microsoft.public.inetserver.iis)
  • Re: Conversion to 64 bit server
    ... their database report scripts are broken. ... The problem is I can't get the email connection to work. ... The email code works in a 64bit command prompt. ... SMTP server to connect to. ...
    (microsoft.public.scripting.vbscript)
  • Re: Need OE Help!!
    ... With dial-up connection, however, I ... > not connect the smtp server to send e-mails out. ... Email scanning slows down Receiving, sometimes enough that OE times out. ... "Disabling email protection does not leave you vulnerable to viruses and ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Error Number: 0x800CCC0E
    ... Mobile Broadband I needed to update the SMTP Server to the 3 Mobile Server. ... Ask Virgin if they have a port other than '25' for SMTP. ... Substitute the SMTP server belonging to your '3' connection. ...
    (microsoft.public.windows.vista.mail)
  • Re: How long does read(2) wait before an EAGAIN is thrown?
    ... The idea being that if the server is known to be a pure spam source, ... It may also delay/block the connection just because the IP address is ... The idea is to slow the sender down a bit, ... I'm connecting to the Exim SMTP server on my local Linux box, ...
    (comp.unix.programmer)