php-windows Digest 1 Mar 2004 11:55:37 -0000 Issue 2144
Topics (messages 23020 through 23021):
Re: Mail()
23020 by: Manuel Lemos
Process Control Functions (PCNTL)
23021 by: BrokenClock
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hello,
On 02/29/2004 06:14 PM, Martin nielsen-Lönn wrote:
Is it possible to fetch an error from mail()? I have tried to send a e-mail but it doesn't work..
If track errors is not enabled in php.ini, no. Anyway, you may not be
able capture any delivery error as the actual delivery may be deferred
or the local mailer may not return any errors when it fails.
Alternatively, you may want to try this class that comes with a wrapper
function named smtp_mail(). It emulates the mail() function except that
it lets you debug the SMTP connection to the server that you are sending
the messages to. This way you can see any error messages that are
returned by the SMTP server.
http://www.phpclasses.org/mimemessage
You also need this other class to do the actual delivery.
http://www.phpclasses.org/smtpclass
--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
--- End Message ---
--- Begin Message ---
Hello list,
Could anyone tell me if the Process Control Functions (PCNTL :
http://www.php.net/manual/en/ref.pcntl.php) will be available or something
like those, one day or another, for PHP for Windows?
Thanks and regards,
BrokenClock
--- End Message ---