http://qs321.pair.com?node_id=816269


in reply to Re^2: How to find and print my smtp server name in perl
in thread How to find and print my smtp server name in perl

As I said, there is no common way to determine the default, as it depends on the MTA software installed on the local machine, and/or on the configuration of the mail clients sending the mail.