--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); ?> --CLEAN-- --EXPECTF-- *** Testing imap_body() : basic functionality *** Create a new mailbox for test Create a temporary mailbox and add 1 msgs New mailbox created Msg Count in new mailbox: 1 string(%d) "1: this is a test message, please ignore newline%r\R?%r" string(%d) "1: this is a test message, please ignore newline%r\R?%r"