Lines Matching refs:msgno
1112 unsigned int msgno; in PHP_FUNCTION() local
1124 for (msgno = 1; msgno <= imap_conn_struct->imap_stream->nmsgs; msgno++) { in PHP_FUNCTION()
1125 MESSAGECACHE * cache = mail_elt (imap_conn_struct->imap_stream, msgno); in PHP_FUNCTION()
1126 mail_fetchstructure(imap_conn_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
1133 snprintf(tmp + 6, sizeof(tmp) - 6, "%4ld) ", cache->msgno); in PHP_FUNCTION()
1137 mail_fetchfrom(tmp+23, imap_conn_struct->imap_stream, msgno, (long)20); in PHP_FUNCTION()
1147 mail_fetchsubject(t = tmp + strlen(tmp), imap_conn_struct->imap_stream, msgno, (long)25); in PHP_FUNCTION()
1158 zend_long msgno, flags = 0; in PHP_FUNCTION() local
1163 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ol|l", &imap_conn_obj, php_imap_ce, &msgno, &flags) ==… in PHP_FUNCTION()
1169 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_PRE_FLAG_CHECKS(msgno, 2); in PHP_FUNCTION()
1176 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_POST_FLAG_CHECKS(msgno, 2, flags, FT_UID); in PHP_FUNCTION()
1178 body = mail_fetchtext_full (imap_conn_struct->imap_stream, msgno, &body_len, flags); in PHP_FUNCTION()
1510 zend_long msgno, fromlength = 0, subjectlength = 0; in PHP_FUNCTION() local
1516 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ol|ll", &imap_conn_obj, php_imap_ce, &msgno, &fromleng… in PHP_FUNCTION()
1522 PHP_IMAP_CHECK_MSGNO(msgno, 2); in PHP_FUNCTION()
1534 if (mail_fetchstructure(imap_conn_struct->imap_stream, msgno, NIL)) { in PHP_FUNCTION()
1535 cache = mail_elt(imap_conn_struct->imap_stream, msgno); in PHP_FUNCTION()
1540 en = mail_fetchenvelope(imap_conn_struct->imap_stream, msgno); in PHP_FUNCTION()
1555 snprintf(dummy, sizeof(dummy), "%4ld", cache->msgno); in PHP_FUNCTION()
1568 mail_fetchfrom(fulladdress, imap_conn_struct->imap_stream, msgno, fromlength); in PHP_FUNCTION()
1573 mail_fetchsubject(fulladdress, imap_conn_struct->imap_stream, msgno, subjectlength); in PHP_FUNCTION()
1735 zend_long msgno, flags = 0; in PHP_FUNCTION() local
1739 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ol|l", &imap_conn_obj, php_imap_ce, &msgno, &flags) ==… in PHP_FUNCTION()
1745 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_PRE_FLAG_CHECKS(msgno, 2); in PHP_FUNCTION()
1752 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_POST_FLAG_CHECKS(msgno, 2, flags, FT_UID); in PHP_FUNCTION()
1756 mail_fetchstructure_full(imap_conn_struct->imap_stream, msgno, &body , flags); in PHP_FUNCTION()
1771 zend_long msgno, flags = 0; in PHP_FUNCTION() local
1777 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "OlS|l", &imap_conn_obj, php_imap_ce, &msgno, &sec, &fl… in PHP_FUNCTION()
1783 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_PRE_FLAG_CHECKS(msgno, 2); in PHP_FUNCTION()
1790 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_POST_FLAG_CHECKS(msgno, 2, flags, FT_UID); in PHP_FUNCTION()
1792 body = mail_fetchbody_full(imap_conn_struct->imap_stream, msgno, ZSTR_VAL(sec), &len, flags); in PHP_FUNCTION()
1808 zend_long msgno, flags = 0; in PHP_FUNCTION() local
1814 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "OlS|l", &imap_conn_obj, php_imap_ce, &msgno, &sec, &fl… in PHP_FUNCTION()
1820 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_PRE_FLAG_CHECKS(msgno, 2); in PHP_FUNCTION()
1827 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_POST_FLAG_CHECKS(msgno, 2, flags, FT_UID); in PHP_FUNCTION()
1829 body = mail_fetch_mime(imap_conn_struct->imap_stream, msgno, ZSTR_VAL(sec), &len, flags); in PHP_FUNCTION()
1849 zend_long msgno, flags = 0; in PHP_FUNCTION() local
1851 …parameters(ZEND_NUM_ARGS(), "Ozl|Sl", &imap_conn_obj, php_imap_ce, &out, &msgno, §ion, &flags)… in PHP_FUNCTION()
1857 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_PRE_FLAG_CHECKS(msgno, 3) in PHP_FUNCTION()
1864 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_POST_FLAG_CHECKS(msgno, 3, flags, FT_UID); in PHP_FUNCTION()
1889 …mail_fetchbody_full(imap_conn_struct->imap_stream, msgno, section?ZSTR_VAL(section):"", NULL, flag… in PHP_FUNCTION()
1995 unsigned long msgno; in PHP_FUNCTION() local
2007 for (msgno = 1; msgno <= imap_conn_struct->imap_stream->nmsgs; msgno++) { in PHP_FUNCTION()
2008 MESSAGECACHE * cache = mail_elt (imap_conn_struct->imap_stream, msgno); in PHP_FUNCTION()
2009 mail_fetchstructure (imap_conn_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
2581 zend_long msgno, flags = 0; in PHP_FUNCTION() local
2584 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ol|l", &imap_conn_obj, php_imap_ce, &msgno, &flags) ==… in PHP_FUNCTION()
2590 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_PRE_FLAG_CHECKS(msgno, 2); in PHP_FUNCTION()
2597 PHP_IMAP_CHECK_MSGNO_MAYBE_UID_POST_FLAG_CHECKS(msgno, 2, flags, FT_UID); in PHP_FUNCTION()
2599 RETVAL_STRING(mail_fetchheader_full(imap_conn_struct->imap_stream, msgno, NIL, NIL, flags)); in PHP_FUNCTION()
2607 zend_long msgno; in PHP_FUNCTION() local
2610 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ol", &imap_conn_obj, php_imap_ce, &msgno) == FAILURE) { in PHP_FUNCTION()
2616 PHP_IMAP_CHECK_MSGNO(msgno, 2); in PHP_FUNCTION()
2618 RETURN_LONG(mail_uid(imap_conn_struct->imap_stream, msgno)); in PHP_FUNCTION()
2693 zend_long msgno; in PHP_FUNCTION() local
2700 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "OlS", &imap_conn_obj, php_imap_ce, &msgno, §ion) =… in PHP_FUNCTION()
2706 PHP_IMAP_CHECK_MSGNO(msgno, 2); in PHP_FUNCTION()
2708 body=mail_body(imap_conn_struct->imap_stream, msgno, (unsigned char*)ZSTR_VAL(section)); in PHP_FUNCTION()