note 95133 added to function.imap-body

From: Date: Tue, 15 Dec 2009 03:08:40 +0000
Subject: note 95133 added to function.imap-body
Groups: php.notes 
Request: Send a blank email to php-notes+get-163975@lists.php.net to get a copy of this message
Simple example on how to read body message of the recent mail. $imap = imap_open("{yourpopservername:995/pop3/ssl/novalidate-cert}", "username", "password"); if( $imap ) { //Check no.of.msgs $num = imap_num_msg($imap) //if there is a message in your inbox if( $num >0 ) { //read that mail recently arrived echo imap_qprint(imap_body($imap, $num)); } //close the stream imap_close($imap); } ---- Server IP: 61.195.146.164 Probable Submitter: 219.198.142.91 ---- Manual Page -- http://www.php.net/manual/en/function.imap-body.php Edit -- https://master.php.net/note/edit/95133 Del: integrated -- https://master.php.net/note/delete/95133/integrated Del: useless -- https://master.php.net/note/delete/95133/useless Del: bad code -- https://master.php.net/note/delete/95133/bad+code Del: spam -- https://master.php.net/note/delete/95133/spam Del: non-english -- https://master.php.net/note/delete/95133/non-english Del: in docs -- https://master.php.net/note/delete/95133/in+docs Del: other reasons-- https://master.php.net/note/delete/95133 Reject -- https://master.php.net/note/reject/95133 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#163975) next »