Lines Matching refs:msgno
1668 unsigned int msgno; in PHP_FUNCTION() local
1682 for (msgno = 1; msgno <= imap_le_struct->imap_stream->nmsgs; msgno++) { in PHP_FUNCTION()
1683 MESSAGECACHE * cache = mail_elt (imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
1684 mail_fetchstructure(imap_le_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
1691 snprintf(tmp + 6, sizeof(tmp) - 6, "%4ld) ", cache->msgno); in PHP_FUNCTION()
1695 mail_fetchfrom(tmp+23, imap_le_struct->imap_stream, msgno, (long)20); in PHP_FUNCTION()
1705 mail_fetchsubject(t = tmp + strlen(tmp), imap_le_struct->imap_stream, msgno, (long)25); in PHP_FUNCTION()
1717 zend_long msgno, flags = 0; in PHP_FUNCTION() local
1723 if (zend_parse_parameters(argc, "rl|l", &streamind, &msgno, &flags) == FAILURE) { in PHP_FUNCTION()
1740 msgindex = mail_msgno(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
1742 msgindex = msgno; in PHP_FUNCTION()
1749 …body = mail_fetchtext_full (imap_le_struct->imap_stream, msgno, &body_len, (argc == 3 ? flags : NI… in PHP_FUNCTION()
2095 zend_long msgno, fromlength, subjectlength; in PHP_FUNCTION() local
2101 …if (zend_parse_parameters(argc, "rl|llS", &streamind, &msgno, &fromlength, &subjectlength, &defaul… in PHP_FUNCTION()
2126 PHP_IMAP_CHECK_MSGNO(msgno); in PHP_FUNCTION()
2128 if (mail_fetchstructure(imap_le_struct->imap_stream, msgno, NIL)) { in PHP_FUNCTION()
2129 cache = mail_elt(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2134 en = mail_fetchenvelope(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2149 snprintf(dummy, sizeof(dummy), "%4ld", cache->msgno); in PHP_FUNCTION()
2162 mail_fetchfrom(fulladdress, imap_le_struct->imap_stream, msgno, fromlength); in PHP_FUNCTION()
2167 mail_fetchsubject(fulladdress, imap_le_struct->imap_stream, msgno, subjectlength); in PHP_FUNCTION()
2340 zend_long msgno, flags = 0; in PHP_FUNCTION() local
2345 if (zend_parse_parameters(argc, "rl|l", &streamind, &msgno, &flags) == FAILURE) { in PHP_FUNCTION()
2358 if (msgno < 1) { in PHP_FUNCTION()
2368 msgindex = mail_msgno(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2370 msgindex = msgno; in PHP_FUNCTION()
2374 mail_fetchstructure_full(imap_le_struct->imap_stream, msgno, &body , (argc == 3 ? flags : NIL)); in PHP_FUNCTION()
2390 zend_long msgno, flags = 0; in PHP_FUNCTION() local
2397 if (zend_parse_parameters(argc, "rlS|l", &streamind, &msgno, &sec, &flags) == FAILURE) { in PHP_FUNCTION()
2412 PHP_IMAP_CHECK_MSGNO(msgno); in PHP_FUNCTION()
2415 …body = mail_fetchbody_full(imap_le_struct->imap_stream, msgno, ZSTR_VAL(sec), &len, (argc == 4 ? f… in PHP_FUNCTION()
2432 zend_long msgno, flags = 0; in PHP_FUNCTION() local
2439 if (zend_parse_parameters(argc, "rlS|l", &streamind, &msgno, &sec, &flags) == FAILURE) { in PHP_FUNCTION()
2454 PHP_IMAP_CHECK_MSGNO(msgno); in PHP_FUNCTION()
2457 …body = mail_fetch_mime(imap_le_struct->imap_stream, msgno, ZSTR_VAL(sec), &len, (argc == 4 ? flags… in PHP_FUNCTION()
2477 zend_long msgno, flags = 0; in PHP_FUNCTION() local
2479 …if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "rzl|Sl", &stream, &out, &msgno, §ion, &… in PHP_FUNCTION()
2511 mail_fetchbody_full(imap_ptr->imap_stream, msgno, section?ZSTR_VAL(section):"", NULL, flags); in PHP_FUNCTION()
2622 unsigned long msgno; in PHP_FUNCTION() local
2636 for (msgno = 1; msgno <= imap_le_struct->imap_stream->nmsgs; msgno++) { in PHP_FUNCTION()
2637 MESSAGECACHE * cache = mail_elt (imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2638 mail_fetchstructure (imap_le_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
3216 zend_long msgno, flags = 0L; in PHP_FUNCTION() local
3220 if (zend_parse_parameters(argc, "rl|l", &streamind, &msgno, &flags) == FAILURE) { in PHP_FUNCTION()
3237 msgindex = mail_msgno(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
3239 msgindex = msgno; in PHP_FUNCTION()
3244 …RETVAL_STRING(mail_fetchheader_full(imap_le_struct->imap_stream, msgno, NIL, NIL, (argc == 3 ? fla… in PHP_FUNCTION()
3253 zend_long msgno; in PHP_FUNCTION() local
3257 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &streamind, &msgno) == FAILURE) { in PHP_FUNCTION()
3265 msgindex = msgno; in PHP_FUNCTION()
3271 RETURN_LONG(mail_uid(imap_le_struct->imap_stream, msgno)); in PHP_FUNCTION()
3280 zend_long msgno; in PHP_FUNCTION() local
3283 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &streamind, &msgno) == FAILURE) { in PHP_FUNCTION()
3291 RETURN_LONG(mail_msgno(imap_le_struct->imap_stream, msgno)); in PHP_FUNCTION()