Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Mail::Mailer and default value of $server?

by footpad (Abbot)
on Jan 10, 2002 at 21:26 UTC ( [id://137777]=note: print w/replies, xml ) Need Help??


in reply to Mail::Mailer and default value of $server?

I suppose you could try localhost, but that could be dangerous. In my experience, it's best to be as clear as possible.

It might be wiser to store the name of your server in a private configuration file and then load that into a scalar before calling Mail::Mailer. I've used that approach before and it makes things easier to maintain in my book. (YMMV)

You may find AppConfig (alt.) helpful.

--f

  • Comment on Re: Mail::Mailer and default value of $server?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-23 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found