Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: NET::SMTP with TLS

by noxxi (Pilgrim)
on Aug 09, 2017 at 06:08 UTC ( [id://1197070]=note: print w/replies, xml ) Need Help??


in reply to NET::SMTP with TLS

The essential part is this:
>>> STARTTLS Net::SMTP=GLOB(0x83f812c) <<< 220 2.0.0 continue Net::SMTP::_SSL=GLOB(0x83f812c) >>> EHLO oh01lx03.workflowone.net Net::SMTP::_SSL=GLOB(0x83f812c)
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.:
my $smtp = Net::SMTP->new(...); $smtp->starttls or die; print "encrypting with cipher=".$smtp->get_cipher."\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1197070]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-24 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found