Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

(boo) developing sendmail script on win32, production on *nix

by boo_radley (Parson)
on May 31, 2001 at 17:24 UTC ( [id://84546]=note: print w/replies, xml ) Need Help??


in reply to Sendmail query

It might.
Check with whomever administers that machine to verify the sendmail installation is probably the best starting point. That'll tell you if the path exists. Will your script work? who knows? :-)

Also, you may wish to investigate the $^O variable :

my $mailprog; if (lc($^O) eq "mswin32") #here is winland. {$mailprog = 'C:\sendmail\sendmail.exe'} # or whatever. I don't use sendmail on windows. else #here is *nixland {$mailprog = "/usr/lib/sendmail"}
Update : Duh. Fixed error thanks to chromatic.

Log In?
Username:
Password:

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

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

    No recent polls found