in reply to Re: Sending e-mail problem
in thread Sending e-mail problem

HELO is the correct opening for a classic SMTP session (and if you're using extended SMTP it's EHLO)

See RFC 821 for the details of the protocol. It's fairly simple and imo not a bad protocol to start with if you're trying to roll your own client for educational purposes.

Replies are listed 'Best First'.
Re^3: Sending e-mail problem
by demerphq (Chancellor) on Jun 24, 2004 at 21:05 UTC

    IIRC your supposed to do EHLO first, if the response is wrong try HELO. But i may not RC. :-)


    ---
    demerphq

      First they ignore you, then they laugh at you, then they fight you, then you win.
      -- Gandhi


      Only if the client supports ESMTP and makes use of the codes returned. If it doesn't use SMTP extensions, then starting with HELO is fine.