--TEST-- Test imap_body() function : basic functionality --SKIPIF-- --FILE-- Nmsgs . "\n"; // show body for msg 1 var_dump(imap_body($imap_stream, 1)); //Access via FT_UID var_dump(imap_body($imap_stream, 1, FT_UID)); imap_close($imap_stream); ?> ===Done=== --CLEAN-- --EXPECTF-- *** Testing imap_body() : basic functionality *** Create a new mailbox for test Create a temporary mailbox and add 1 msgs .. mailbox '%s' created Msg Count in new mailbox: 1 string(%d) "1: this is a test message, please ignore%a" string(%d) "1: this is a test message, please ignore%a" ===Done===