php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73979 imap_append return UID
Submitted: 2017-01-23 14:20 UTC Modified: -
From: clark at electrobeat dot dk Assigned:
Status: Open Package: IMAP related
PHP Version: 7.0.15 OS: Debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: clark at electrobeat dot dk
New email:
PHP Version: OS:

 

 [2017-01-23 14:20 UTC] clark at electrobeat dot dk
Description:
------------
---
From manual page: http://www.php.net/function.imap-append
---

When will imap funcitons support UIDPLUS so imap_append will return the UID?

Now its very complicated to get the new appended UID. After imap_append you have to reconnect to the IMAP server before you can see the new added message and in the meanwhile other messages could have been added.. So you need imap_search to filter out the new message appended..

This is not a very consistent way


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Aug 17 11:01:27 2019 UTC