[exim] php + exim

トップ ページ
このメッセージを削除
このメッセージに返信
著者: 91change
日付:  
To: exim-users
題目: [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.