[imp] IMP stopped talking to send mail all of a sudden

Brian Voils voilsb at gmail.com
Mon Oct 4 20:41:54 PDT 2004


I'm not so sure it's a server error.  I can send mail fine using the
following code (from a script I wrote to send mail via a web form on
my webpage):

/*********** start block of code ***********/
function send() {
    $eMail[] = array( 'Brian Voils', 'brian at voils.net' );

      $userip = ($_SERVER['X_FORWARDED_FOR']) ?
$_SERVER['X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];
      if( get_magic_quotes_gpc() == 1 )
      {
        $_POST["Subject"] = "[voils.net] " . stripslashes( $_POST["Subject"] );
        $_POST["Body"] = stripslashes( $_POST["Body"] ) .
"\n\n\n\n--\nThis e-mail was sent via http://voils.net/email.html";
      }

      if( mail( '"' . $eMail[0][0] . '" <' . $eMail[0][1] . '>',
         $_POST["Subject"], $_POST["Body"],
       'Return-Path: "' . $_POST["From"] . '" <' . $_POST["EMail"] . ">\n"
       . 'From: "' . $_POST["From"] . '" <' . $_POST["EMail"] . ">\n"
       . 'Reply-To: "' . $_POST["From"] . '" <' . $_POST["EMail"] . ">\n"
       . "X-Mailer: PHP/" . phpversion() . "\n"
       . "X-From-IP: " . $userip ) )
        echo "Message Sent Successfully";
      else
        echo "UNABLE To Send Message.";
}
/*********** end block of code ***********/


On Mon,  4 Oct 2004 20:12:40 -0700, Lord Apollyon <implist at paypc.com> wrote:
> 
> 
> 
> > Apparently /usr/sbin/sendmail is a link to exi. I don't know if it's a
> > symlink or a hardlink, and am trying to find out (and see if something
> > is broken along the way).
> 
> In any event, this is not a horde/imp problem, as much as a system
> configuration problem.
> 
> Horde/IMP didn't lie when it said sendmail isn't an executable.
> 
> 
> 
> =R=
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> 



-- 
Brian Voils


More information about the imp mailing list