You are here: Re: mail() returns false but mail is sent « PHP Programming Language « IT news, forums, messages
Re: mail() returns false but mail is sent

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация