in reply to NET::SMTP with TLS
This means you successfully send the STARTTLS command, got a successful response and issued a new EHLO inside the TLS upgraded connection. If you want to be really sure you could also ask for the cipher used within the connection, e.g.:>>> STARTTLS Net::SMTP=GLOB(0x83f812c) <<< 220 2.0.0 continue Net::SMTP::_SSL=GLOB(0x83f812c) >>> EHLO oh01lx03.workflowone.net Net::SMTP::_SSL=GLOB(0x83f812c)
my $smtp = Net::SMTP->new(...); $smtp->starttls or die; print "encrypting with cipher=".$smtp->get_cipher."\n";
|
|---|