Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

How to find and print my smtp server name in perl

by thiagu_mvt (Sexton)
on Jan 08, 2010 at 07:48 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2022-07-01 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (98 votes). Check out past polls.

    Notices?