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.
In Section
Seekers of Perl Wisdom