Most Referenced Functions
  » google_pagerank()
  » preg_replace()
  » imagecreatefrompng()
  » site_pageranks()
  » imagepng()
  » imagedestroy()
  » imagestring()
  » imagecolorallocate()
  » htmlentities()
  » preg_match()
  » fopen()
  » header()
  » getimagesize()
  » preg_match_all()
  » session_start()
  » htmlspecialchars()
  » ob_start()
  » ob_flush()
  » strstr()
  » flush()
  » strpos()
  » setcookie()
  » str_replace()
  » array2vars()
  » nl2br()
  » preg_split()
  » ereg()
  » ereg_replace()
  » urlencode()
  » readgzfile()

Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m.

PHP Functions

Function: imap_headerinfo

(PHP 3, PHP 4, PHP 5)

imap_headerinfo -- Read the header of the message

Description

object imap_headerinfo ( resource imap_stream, int msg_number [, int fromlength [, int subjectlength [, string defaulthost]]] )

This function returns an object of various header elements.

       remail, date, Date, subject, Subject, in_reply_to, message_id,        newsgroups, followup_to, references message flags:    Recent -  'R' if recent and seen,               'N' if recent and not seen,               ' ' if not recent    Unseen -  'U' if not seen AND not recent,               ' ' if seen OR not seen and recent    Answered -'A' if answered,               ' ' if unanswered    Deleted - 'D' if deleted,               ' ' if not deleted    Draft -   'X' if draft,               ' ' if not draft    Flagged - 'F' if flagged,               ' ' if not flagged NOTE that the Recent/Unseen behavior is a little odd. If you want to know if a message is Unseen, you must check for Unseen == 'U' || Recent == 'N' toaddress (full to: line, up to 1024 characters) to[] (returns an array of objects from the To line, containing):    personal    adl    mailbox    host fromaddress (full from: line, up to 1024 characters) from[] (returns an array of objects from the From line, containing):    personal    adl    mailbox    host ccaddress (full cc: line, up to 1024 characters) cc[] (returns an array of objects from the Cc line, containing):    personal    adl    mailbox    host bccaddress (full bcc line, up to 1024 characters) bcc[] (returns an array of objects from the Bcc line, containing):    personal    adl    mailbox    host reply_toaddress (full reply_to: line, up to 1024 characters) reply_to[] (returns an array of objects from the Reply_to line, containing):    personal    adl    mailbox    host senderaddress (full sender: line, up to 1024 characters) sender[] (returns an array of objects from the sender line, containing):    personal    adl    mailbox    host return_path (full return-path: line, up to 1024 characters) return_path[] (returns an array of objects from the return_path line, containing):    personal    adl    mailbox    host udate (mail message date in unix time) fetchfrom (from line formatted to fit  fromlength   characters) fetchsubject (subject line formatted to fit  subjectlength  characters)       

Icemelon -- PHP, CSS, Javascript Tutorials, & More!
  © 2005-2010 Icemelon.com   Email: dave[AT]icemelon[D0T]c0m