[exim] php + exim

Startseite
Nachricht löschen
Nachricht beantworten
Autor: 91change
Datum:  
To: exim-users
Betreff: [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);


Here i can specify to and from field .
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.