Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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


Comment on Re^3: Sendmail Problem
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2015-06-02 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (100 votes), past polls