|
Posted by Geoff Berrow on 01/12/06 02:38
Message-ID: <slrndsb0i5.gck.hexkid@ID-203069.user.individual.net> from
Pedro Graca contained the following:
>What operating system is the script running on?
Linux.
>
>What are the mail configuration settings?
>
> Don't copy them from php.ini; run this script instead:
><?php
>$opts = array('SMTP', 'smtp_port', 'sendmail_from', 'sendmail_path');
>foreach ($opts as $opt) {
> echo $opt, ': [', ini_get($opt), "]<br/>\n";
>}
>?>
Here's what I get:
SMTP: [localhost]
smtp_port: [25]
sendmail_from: []
sendmail_path: [/usr/sbin/sendmail -t -i]
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|