php / php/doc-en

Certain Emails Not Being Returned

Open
#2,722 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
XML
Stars
596
Forks
890
Avg merge
1d 15h
Merged PRs (30d)
55

Description

From manual page: https://php.net/function.imap-search

I've tried on two different servers, and it seems that either:

  1. Emails that were moved from a different server.
    or
  2. Emails that have a different "To" address than currently connected to.

Don't work. I've manually Telnet'd to the servers in question, and copy-pasted the query - the server returns the expected results of the messages.

For example, if I have the message that has the following attributes FROM: abc@abc.com TO xyz@xyz.com SUBJECT test, and the server I'm connected to is "def@def.com", performing an imap_search([def@def.com], 'SUBJECT "TEST"') or imap_search([def@def.com], 'FROM "abc"') returns nothing.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the imap_search manual page linked in the issue and compare its documented behavior with the reported searches for subject and sender. Reproduce the queries against messages moved from another server or addressed to a different account, then document the confirmed behavior and the required manual-page change.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.