in reply to Re: Net::SMTP and TLS Problems!
in thread Net::SMTP and TLS Problems!

I tried again and couldn't figure out how to make Net::SMTP do TLS. Isn't that some sort of encryption? In the module it says:
# We dont support sasl mechanisms that encrypt the socket traffic. # todo that we would really need to change the ISA hierarchy # so we dont inherit from IO::Socket, but instead hold it in an at +tribute

Replies are listed 'Best First'.
Re^3: Net::SMTP and TLS Problems!
by tirwhan (Abbot) on Nov 02, 2005 at 10:01 UTC

    jesuashok is wrong, neither Net::SMTP nor Mail::Sender support STARTTLS. Net::ESMTP says it does, but I've never used this module, so can't say how well it works.

    SASL and TLS are two very different things. SASL implements secure authentication over insecure channels (e.g. via Digest-MD5 passwords), whereas TLS encrypts an entire network transaction with SSL.


    Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan
      Net::ESMTP does indeed seem to do it! But it is in beta and it uses C. I need an all perl solution as I won't be able to make and install- and even if I could it is getting less eloquent (though maybe that's ok in perl).