[exim] php + exim

Top Page
Delete this message
Reply to this message
Author: 91change
Date:  
To: exim-users
Subject: [exim] php + exim

i found a script on internet . The script is in php and used to send mails .
It works fine for me

$to = escapeshellcmd($to);
$from = escapeshellcmd($from);
$exim = popen('/path/to/exim -f ' . $from . ' ' . $to, 'w');
fwrite($exim, $message);
pclose($exim);



But , how can i add subject ,header fields to it ?



--
View this message in context: http://www.nabble.com/php-%2B-exim-tp19879636p19879636.html
Sent from the Exim Users mailing list archive at Nabble.com.