|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-10-16 13:54 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2020-10-16 13:54 UTC] cmb@php.net
[2020-10-25 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 18 11:00:01 2025 UTC |
Description: ------------ The following was placed at the top of a mailing list script, which logs into an account to check for messages, then repackages the message and sends it to the mailing list subscribers using the mail() function. imap_timeout(IMAP_OPENTIMEOUT, 2); imap_timeout(IMAP_READTIMEOUT, 2); imap_timeout(IMAP_WRITETIMEOUT, 2); imap_timeout(IMAP_CLOSETIMEOUT, 2); Later in the script, I call imap_open(), specifically using connection to {localhost:993/ssl/no-validate-cert} if this makes a difference, unsure. Periodically ran into an issue where the mail() call would simply stop returning true -- but for the directory the script is located in only. I set up a second script, that simply tests the mail() function -- I place it in the directory where the locked-up script is located and mail() returns false. Any other directory, mail() will return true.