I assume you could do it like in perl:
Open(MAIL, "|/usr/lib/sendmail");
Print MAIL <<OUTPUT;
To: ray <[EMAIL PROTECTED]>
From: someone <[EMAIL PROTECTED]>
Subject: blah blah
Note the line break before the body, blah blah blah
OUTPUT
Close(MAIL)
I have no idea how you would do this in php, but I hope its at least
points you in the right direction... Im not sure if php allows you to
open a pipe to another program.
Ray Hilton
-
[EMAIL PROTECTED]
http://rayh.co.uk
-----Original Message-----
From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]]
Sent: 19 June 2001 06:04
To: PHP General List (E-mail)
Subject: [PHP] [php]using sendmail with php
hey-
i noticed a recent post about the weird email that someone was getting
from a script that emails form data. I was curious on whether or not I
could use sendmail with php, to possibly get around this problem(I've
run into it myself). How might i do this?...
chris