note 21501 added to function.imap-header

From: Date: Wed, 15 May 2002 09:08:13 +0000
Subject: note 21501 added to function.imap-header
Groups: php.notes 
Request: Send a blank email to php-notes+get-30665@lists.php.net to get a copy of this message
I just wanted to state what all these variables were producing considering it isnt documented anywhere that I have been able to find on this site: the object that imap_mailboxmsgs returns has the following fields for the pop3 driver: array( Unread => Deleted => Nmsgs => Size=> Date=> Driver=> Mailbox=> Recent=> ) imap_header returns the following array for the pop3 driver: stdClass Object ( date=> Date=> subject=> Subject=> toaddress=> to=> array stdClass Object ( mailbox=> host=> ) fromaddress=> from=> array stdClass Object ( personal=> mailbox=> host=> ) reply_toaddress=> reply_to=> array stdClass Object ( personal=> mailbox=> host=> ) senderaddress=> sender => array stdClass Object ( personal=> mailbox=> host=> ) Recent=> Unseen=> Flagged=> Answered=> Deleted=> Draft=> Msgno=> MailDate=> Size=> udate=> ) Also, if you are using a pop3 server and you are having difficulties deleting messages, you will need to call imap_expunge immediately after your call to imap_delete. (this was posted somewhere else.. thanks for that!!) feel free to drop me a line if this helped you. Happy coding. -- http://www.php.net/manual/en/function.imap-header.php http://master.php.net/manage/user-notes.php?action=edit+21501 http://master.php.net/manage/user-notes.php?action=delete+21501 http://master.php.net/manage/user-notes.php?action=reject+21501

« previous php.notes (#30665) next »