why my script can not send email?

From: PHP2 (gp_at_nospm.hr)
Date: 08/29/04


Date: Sun, 29 Aug 2004 21:46:54 +0200

why my script can not send email? I have not error but script don't send
email

<?php

$od = "MIME-Version: 1.0\r\n";
$od .= "Content-Type: text/html; charset=windows-1250\r\n";
$od .= "From: $ime <$email>\r\n";
mail($prima, $naslov, $napomena, $od);

if ($hvala) {
   header ("Location: $hvala");
   exit;
} else {
   print "Thanks for your message!";
   echo "<br><br>\n";
   exit;
}
?>



Relevant Pages

  • Re: Changing a users password non-interactively?
    ... You need expect and a setpass.expect script which ill add ... exit with a nasty warning. ... # Be careful of the COMMAND and UNDOCMD - they are dependant on your ...
    (comp.unix.aix)
  • Re: script does not always work the same each time.
    ... I have written a simple script to test code build and test run on a ... $lineterminationChar {append output $expect_out; ... exit 1;} ...
    (comp.lang.tcl)
  • Re: need small PHP job done
    ... i need help tweaking a PHP mail script; ... // check for a recipient email address and check the validity of it ... // check for an attachment if there is a file upload it ...
    (alt.php)
  • Re: OSR505 Signal trapping in shell scripts
    ... >>My test script is at the end. ... > process only gets one SIGHUP per fd. ... > end up doing ioctls on fd 0, which is your stopio'd telnetd pty. ... > of the exit function. ...
    (comp.unix.sco.misc)
  • Re: Changing a users password non-interactively?
    ... You need expect and a setpass.expect script which ill add ... exit with a nasty warning. ... # Be careful of the COMMAND and UNDOCMD - they are dependant on your ...
    (comp.unix.aix)