php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #7261 imap_open() mailboxes via regular file access
Submitted: 2000-10-16 19:30 UTC Modified: 2000-10-16 23:46 UTC
From: joel dot jacobson at mobigym dot se Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.3pl1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: joel dot jacobson at mobigym dot se
New email:
PHP Version: OS:

 

 [2000-10-16 19:30 UTC] joel dot jacobson at mobigym dot se
I think it would be nice if you could open a mailbox by specify the file and read the data from the file (usually /var/spool/mail/[username]) directly.
That way I could write an automatic alert script that send a SMS when a user has new mail waiting in the inbox, WITHOUT having to store all passwords in plaintext to be able to access the mailboxes.
(This is, of course, only possible when the PHP script is run a as shell-script as root)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-16 23:46 UTC] chagenbu@php.net
Have you tried it? It works...
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jun 13 19:00:02 2026 UTC