[exim] php + exim

Page principale
Supprimer ce message
Répondre à ce message
Auteur: 91change
Date:  
À: exim-users
Sujet: [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.