10-27-2015
I edited both posts already. If you see anything I missed, PM me, maybe I'm blind today.
6 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
Admin:
I have 2 postings for FTP issues can you delete both of them. I resolve the problems by myself. Thanks (1 Reply)
Discussion started by: newbie05
1 Replies
2. Post Here to Contact Site Administrators and Moderators
Hi,
I have created a new thread. I dont need that thread now. How should I delete it? Nobody has replied yet.
Regd,
M (5 Replies)
Discussion started by: mahatma
5 Replies
3. Post Here to Contact Site Administrators and Moderators
ADMIN: Please delete my following post:
How to print out last part of awk token/string?
Thank you (1 Reply)
Discussion started by: rory7902
1 Replies
4. Post Here to Contact Site Administrators and Moderators
Hi Moderator..
Please delete all my post.. some my post has confidential details of my company... i unknowning posted that ... is it possible to remove those..
i couldn't able to edit those bz those r closed .. (1 Reply)
Discussion started by: girija
1 Replies
5. Post Here to Contact Site Administrators and Moderators
Hi Moderator,
Please delete the below post which i posted by mistake.Thanks in advance.
https://www.unix.com/shell-programming-and-scripting/260605-closed-script-not-working-new-post.html
Kindly help me on this.
Thanks,
vijay (1 Reply)
Discussion started by: bhas85
1 Replies
6. Post Here to Contact Site Administrators and Moderators
Dear administrator
Please delete all my posting, topics and user account.
I will create a new user account myself.
Thanks for the effort render. (2 Replies)
Discussion started by: houmingc
2 Replies
LEARN ABOUT PHP
imap_delete
IMAP_DELETE(3) 1 IMAP_DELETE(3)
imap_delete - Mark a message for deletion from current mailbox
SYNOPSIS
bool imap_delete (resource $imap_stream, int $msg_number, [int $options])
DESCRIPTION
Marks messages listed in $msg_number for deletion. Messages marked for deletion will stay in the mailbox until either imap_expunge(3) is
called or imap_close(3) is called with the optional parameter CL_EXPUNGE.
PARAMETERS
o $
imap_stream -An IMAP stream returned by imap_open(3).
o $msg_number
- The message number
o $options
- You can set the FT_UID which tells the function to treat the $msg_number argument as an UID.
RETURN VALUES
Returns TRUE.
EXAMPLES
Example #1
imap_delete(3) example
<?php
$mbox = imap_open("{imap.example.org}INBOX", "username", "password")
or die("Can't connect: " . imap_last_error());
$check = imap_mailboxmsginfo($mbox);
echo "Messages before delete: " . $check->Nmsgs . "<br />
";
imap_delete($mbox, 1);
$check = imap_mailboxmsginfo($mbox);
echo "Messages after delete: " . $check->Nmsgs . "<br />
";
imap_expunge($mbox);
$check = imap_mailboxmsginfo($mbox);
echo "Messages after expunge: " . $check->Nmsgs . "<br />
";
imap_close($mbox);
?>
NOTES
Note
IMAP mailboxes may not have their message flags saved between connections, so imap_expunge(3) should be called during the same con-
nection in order to guarantee that messages marked for deletion will actually be purged.
SEE ALSO
imap_undelete(3), imap_expunge(3), imap_close(3).
PHP Documentation Group IMAP_DELETE(3)