2008/10/8 91change <91change@???>: >
> 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 ?
Possibly by prepending header lines to the '$message' value before you
pipe it to exim. That's more of a PHP question than an Exim question,
though.
Peter
--
Peter Bowyer
Email: peter@???
Follow me on Twitter: twitter.com/peeebeee