Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Sendmail Problem

by blue_cowdawg (Monsignor)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011718]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2016-12-08 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (136 votes). Check out past polls.