Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
June 10, 2009, 6:54 am
rate this thread
I'm trying to debug my file.... it works (no error in the browser!!!),
but it is not doing what I'd like to...
$to = "vit\@domain.com";
print MAIL "From: bob\@domain.com\n";
print MAIL "To: $to\n";
print MAIL "Subject: Web Enqiry\n\n";
print "Content-type: text/html\n\n";
print "Hello World2"
it doesn't give me an error, but I dont receive any mail....
Re: sendmail doesn't work, but no error on the screen...
open(MAIL, '|-', '/usr/sbin/sendmail -t -oi') or die;
1) Use of three params open is recommended.
2) You have missed important sendmail's command line parameters
-t - get recipient addresses from the message
-oi - "single do line" is not "end of message"
[pl>en Andrew] Andrzej Adam Filip : firstname.lastname@example.org : Andrzej.Filip@gmail.com
Lack of skill dictates economy of style.
-- Joey Ramone