$ smtp ->quit
smtp
This method sends the QUIT command to the remote SMTP server and closes the socket connection.
[ Library Home | Perl in a Nutshell | Learning Perl | Learning Perl on Win32 | Programming Perl | Advanced Perl Programming | Perl Cookbook ]