-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Mail) Pop3: Remove Message #1
Comments
@DerDu, did you set the mailbox? There has to be an active mailbox in order for it to delete. |
@Sherlonv, yes - i switched to imap because it's working :-) But my question is about Pop3, which i can't get to delete a message from (exact same) server... |
How did you try Pop3 and on what domain? You also have to connect() first then remove(), and if you want the changes to reflect immediately you have to disconnect(). |
@Sherlonv Thats what i'am doing (just as the documentation-example does).. everything works as i expect.. except removing a message... I realized another missing feature in imap.. :-( ... |
You need to send "CLOSE" before "LOGOUT" to remove delete-flagged messages from active message box - or: provide (at least) a function to do so manually Fix for issue Eden-PHP#1
🥇 closed != solved, there is an expunge method, but it's not working because of wrong usage within imap protocol (missing close command).. sry |
Lets move this conversation to #53 |
If i try to remove a message, what number (uid) i have to provide?
If i do
getEmails( 1, 1 )
it should return $Message #1 right?remove( 1 )
has to (at least) mark it as deleted= won't work
$Message['Id']
:remove( '<some strange id here>' )
= won't work
Am I doing it wrong, or is something broken?
PS: There is no field
$Message['Uid']
as in imap messageThe text was updated successfully, but these errors were encountered: