Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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:

How can I find my smtp server name using perl ?

  • 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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-06-22 20:31 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.