Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

How to find and print my smtp server name in perl

by thiagu_mvt (Sexton)
on Jan 08, 2010 at 07:48 UTC ( [id://816235]=perlquestion: print w/replies, xml ) Need Help??

thiagu_mvt has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
How can I find my smtp server name using perl ?
-Thiagu

  • Comment on How to find and print my smtp server name in perl

Replies are listed 'Best First'.
Re: How to find and print my smtp server name in perl
by Corion (Patriarch) on Jan 08, 2010 at 08:05 UTC

    You can't. The SMTP server needs to be configured by the user, as there is no standard way to determine the SMTP server to use.

      thanks corion. Just trying to find the default available smtp server name if it is reach..

        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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2025-06-14 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.