Lines Matching refs:msgno
1669 unsigned int msgno; in PHP_FUNCTION() local
1683 for (msgno = 1; msgno <= imap_le_struct->imap_stream->nmsgs; msgno++) { in PHP_FUNCTION()
1684 MESSAGECACHE * cache = mail_elt (imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
1685 mail_fetchstructure(imap_le_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
1692 snprintf(tmp + 6, sizeof(tmp) - 6, "%4ld) ", cache->msgno); in PHP_FUNCTION()
1696 mail_fetchfrom(tmp+23, imap_le_struct->imap_stream, msgno, (long)20); in PHP_FUNCTION()
1706 mail_fetchsubject(t = tmp + strlen(tmp), imap_le_struct->imap_stream, msgno, (long)25); in PHP_FUNCTION()
1718 zend_long msgno, flags = 0; in PHP_FUNCTION() local
1724 if (zend_parse_parameters(argc, "rl|l", &streamind, &msgno, &flags) == FAILURE) { in PHP_FUNCTION()
1741 msgindex = mail_msgno(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
1743 msgindex = msgno; in PHP_FUNCTION()
1750 …body = mail_fetchtext_full (imap_le_struct->imap_stream, msgno, &body_len, (argc == 3 ? flags : NI… in PHP_FUNCTION()
2096 zend_long msgno, fromlength, subjectlength; in PHP_FUNCTION() local
2102 …if (zend_parse_parameters(argc, "rl|llS", &streamind, &msgno, &fromlength, &subjectlength, &defaul… in PHP_FUNCTION()
2127 PHP_IMAP_CHECK_MSGNO(msgno); in PHP_FUNCTION()
2129 if (mail_fetchstructure(imap_le_struct->imap_stream, msgno, NIL)) { in PHP_FUNCTION()
2130 cache = mail_elt(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2135 en = mail_fetchenvelope(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2150 snprintf(dummy, sizeof(dummy), "%4ld", cache->msgno); in PHP_FUNCTION()
2163 mail_fetchfrom(fulladdress, imap_le_struct->imap_stream, msgno, fromlength); in PHP_FUNCTION()
2168 mail_fetchsubject(fulladdress, imap_le_struct->imap_stream, msgno, subjectlength); in PHP_FUNCTION()
2341 zend_long msgno, flags = 0; in PHP_FUNCTION() local
2346 if (zend_parse_parameters(argc, "rl|l", &streamind, &msgno, &flags) == FAILURE) { in PHP_FUNCTION()
2359 if (msgno < 1) { in PHP_FUNCTION()
2369 msgindex = mail_msgno(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2371 msgindex = msgno; in PHP_FUNCTION()
2375 mail_fetchstructure_full(imap_le_struct->imap_stream, msgno, &body , (argc == 3 ? flags : NIL)); in PHP_FUNCTION()
2391 zend_long msgno, flags = 0; in PHP_FUNCTION() local
2398 if (zend_parse_parameters(argc, "rlS|l", &streamind, &msgno, &sec, &flags) == FAILURE) { in PHP_FUNCTION()
2413 PHP_IMAP_CHECK_MSGNO(msgno); in PHP_FUNCTION()
2416 …body = mail_fetchbody_full(imap_le_struct->imap_stream, msgno, ZSTR_VAL(sec), &len, (argc == 4 ? f… in PHP_FUNCTION()
2433 zend_long msgno, flags = 0; in PHP_FUNCTION() local
2440 if (zend_parse_parameters(argc, "rlS|l", &streamind, &msgno, &sec, &flags) == FAILURE) { in PHP_FUNCTION()
2455 PHP_IMAP_CHECK_MSGNO(msgno); in PHP_FUNCTION()
2458 …body = mail_fetch_mime(imap_le_struct->imap_stream, msgno, ZSTR_VAL(sec), &len, (argc == 4 ? flags… in PHP_FUNCTION()
2478 zend_long msgno, flags = 0; in PHP_FUNCTION() local
2480 …if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "rzl|Sl", &stream, &out, &msgno, §ion, &… in PHP_FUNCTION()
2512 mail_fetchbody_full(imap_ptr->imap_stream, msgno, section?ZSTR_VAL(section):"", NULL, flags); in PHP_FUNCTION()
2623 unsigned long msgno; in PHP_FUNCTION() local
2637 for (msgno = 1; msgno <= imap_le_struct->imap_stream->nmsgs; msgno++) { in PHP_FUNCTION()
2638 MESSAGECACHE * cache = mail_elt (imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2639 mail_fetchstructure (imap_le_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
3211 zend_long msgno, flags = 0L; in PHP_FUNCTION() local
3215 if (zend_parse_parameters(argc, "rl|l", &streamind, &msgno, &flags) == FAILURE) { in PHP_FUNCTION()
3232 msgindex = mail_msgno(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
3234 msgindex = msgno; in PHP_FUNCTION()
3239 …RETVAL_STRING(mail_fetchheader_full(imap_le_struct->imap_stream, msgno, NIL, NIL, (argc == 3 ? fla… in PHP_FUNCTION()
3248 zend_long msgno; in PHP_FUNCTION() local
3252 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &streamind, &msgno) == FAILURE) { in PHP_FUNCTION()
3260 msgindex = msgno; in PHP_FUNCTION()
3266 RETURN_LONG(mail_uid(imap_le_struct->imap_stream, msgno)); in PHP_FUNCTION()
3275 zend_long msgno; in PHP_FUNCTION() local
3278 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &streamind, &msgno) == FAILURE) { in PHP_FUNCTION()
3286 RETURN_LONG(mail_msgno(imap_le_struct->imap_stream, msgno)); in PHP_FUNCTION()