php-general | 2001062
Date: 06/19/01
- Next message: Null: "[PHP] Hurray!"
- Previous message: Simon Kimber: "RE: [PHP] Multipe Tables, Single Query Problem"
- In reply to: Chris Cocuzzo: "[PHP] [php]using sendmail with php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I assume you could do it like in perl:
Open(MAIL, "|/usr/lib/sendmail");
Print MAIL <<OUTPUT;
To: ray <me <email protected>>
From: someone <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
-
me <email protected>
http://rayh.co.uk
-----Original Message-----
From: Chris Cocuzzo [mailto:cuzo <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
- Next message: Null: "[PHP] Hurray!"
- Previous message: Simon Kimber: "RE: [PHP] Multipe Tables, Single Query Problem"
- In reply to: Chris Cocuzzo: "[PHP] [php]using sendmail with php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

