Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Clear questions and runnable code
get the best and fastest answer

Re^3: Sendmail Problem

by blue_cowdawg (Prior)
on Jan 04, 2013 at 20:50 UTC ( #1011718=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Sendmail Problem
in thread Sendmail Problem

      $child_pid = open (MAIL, "|/usr/sbin/sendmail -v"); # use -v

That just ain't gonna work son....

You need to specify recipient addresses on the command line or add the "-t" option.

As stated before, you can save yourself a lot of problems by not reinventing the wheel and using the likes of Mail::Send, MIME::Lite and friends. Using CGI to parse your incoming form is a good ideas as well. You're already using CGI::Carp and CGI is part of the core Perl distro.

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Comment on Re^3: Sendmail Problem
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (15)
As of 2014-04-21 15:55 GMT
Find Nodes?
    Voting Booth?

    April first is:

    Results (496 votes), past polls