Lines Matching refs:msgno
1652 unsigned int msgno; in PHP_FUNCTION() local
1664 for (msgno = 1; msgno <= imap_le_struct->imap_stream->nmsgs; msgno++) { in PHP_FUNCTION()
1665 MESSAGECACHE * cache = mail_elt (imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
1666 mail_fetchstructure(imap_le_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
1673 snprintf(tmp + 6, sizeof(tmp) - 6, "%4ld) ", cache->msgno); in PHP_FUNCTION()
1677 mail_fetchfrom(tmp+23, imap_le_struct->imap_stream, msgno, (long)20); in PHP_FUNCTION()
1687 mail_fetchsubject(t = tmp + strlen(tmp), imap_le_struct->imap_stream, msgno, (long)25); in PHP_FUNCTION()
1699 long msgno, flags = 0; in PHP_FUNCTION() local
1705 if (zend_parse_parameters(argc TSRMLS_CC, "rl|l", &streamind, &msgno, &flags) == FAILURE) { in PHP_FUNCTION()
1720 msgindex = mail_msgno(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
1722 msgindex = msgno; in PHP_FUNCTION()
1729 …body = mail_fetchtext_full (imap_le_struct->imap_stream, msgno, &body_len, (argc == 3 ? flags : NI… in PHP_FUNCTION()
2061 long msgno, fromlength, subjectlength; in PHP_FUNCTION() local
2067 …if (zend_parse_parameters(argc TSRMLS_CC, "rl|lls", &streamind, &msgno, &fromlength, &subjectlengt… in PHP_FUNCTION()
2090 PHP_IMAP_CHECK_MSGNO(msgno); in PHP_FUNCTION()
2092 if (mail_fetchstructure(imap_le_struct->imap_stream, msgno, NIL)) { in PHP_FUNCTION()
2093 cache = mail_elt(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2098 en = mail_fetchenvelope(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2113 snprintf(dummy, sizeof(dummy), "%4ld", cache->msgno); in PHP_FUNCTION()
2126 mail_fetchfrom(fulladdress, imap_le_struct->imap_stream, msgno, fromlength); in PHP_FUNCTION()
2131 mail_fetchsubject(fulladdress, imap_le_struct->imap_stream, msgno, subjectlength); in PHP_FUNCTION()
2301 long msgno, flags = 0; in PHP_FUNCTION() local
2306 if (zend_parse_parameters(argc TSRMLS_CC, "rl|l", &streamind, &msgno, &flags) == FAILURE) { in PHP_FUNCTION()
2317 if (msgno < 1) { in PHP_FUNCTION()
2327 msgindex = mail_msgno(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2329 msgindex = msgno; in PHP_FUNCTION()
2333 mail_fetchstructure_full(imap_le_struct->imap_stream, msgno, &body , (argc == 3 ? flags : NIL)); in PHP_FUNCTION()
2349 long msgno, flags = 0; in PHP_FUNCTION() local
2356 …if (zend_parse_parameters(argc TSRMLS_CC, "rls|l", &streamind, &msgno, &sec, &sec_len, &flags) == … in PHP_FUNCTION()
2369 PHP_IMAP_CHECK_MSGNO(msgno); in PHP_FUNCTION()
2372 …body = mail_fetchbody_full(imap_le_struct->imap_stream, msgno, sec, &len, (argc == 4 ? flags : NIL… in PHP_FUNCTION()
2389 long msgno, flags = 0; in PHP_FUNCTION() local
2396 …if (zend_parse_parameters(argc TSRMLS_CC, "rls|l", &streamind, &msgno, &sec, &sec_len, &flags) == … in PHP_FUNCTION()
2409 PHP_IMAP_CHECK_MSGNO(msgno); in PHP_FUNCTION()
2412 body = mail_fetch_mime(imap_le_struct->imap_stream, msgno, sec, &len, (argc == 4 ? flags : NIL)); in PHP_FUNCTION()
2437 long msgno, flags = 0; in PHP_FUNCTION() local
2439 …if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rZl|sl", &stream, &out, &msgno, &… in PHP_FUNCTION()
2469 mail_fetchbody_full(imap_ptr->imap_stream, msgno, section, NULL, flags); in PHP_FUNCTION()
2580 unsigned int msgno, unreadmsg, deletedmsg, msize; in PHP_FUNCTION() local
2595 for (msgno = 1; msgno <= imap_le_struct->imap_stream->nmsgs; msgno++) { in PHP_FUNCTION()
2596 MESSAGECACHE * cache = mail_elt (imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
2597 mail_fetchstructure (imap_le_struct->imap_stream, msgno, NIL); in PHP_FUNCTION()
3177 long msgno, flags=0L; in PHP_FUNCTION() local
3181 if (zend_parse_parameters(argc TSRMLS_CC, "rl|l", &streamind, &msgno, &flags) == FAILURE) { in PHP_FUNCTION()
3196 msgindex = mail_msgno(imap_le_struct->imap_stream, msgno); in PHP_FUNCTION()
3198 msgindex = msgno; in PHP_FUNCTION()
3203 …RETVAL_STRING(mail_fetchheader_full(imap_le_struct->imap_stream, msgno, NIL, NIL, (argc == 3 ? fla… in PHP_FUNCTION()
3212 long msgno; in PHP_FUNCTION() local
3216 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &streamind, &msgno) == FAILURE) { in PHP_FUNCTION()
3222 msgindex = msgno; in PHP_FUNCTION()
3228 RETURN_LONG(mail_uid(imap_le_struct->imap_stream, msgno)); in PHP_FUNCTION()
3237 long msgno; in PHP_FUNCTION() local
3240 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &streamind, &msgno) == FAILURE) { in PHP_FUNCTION()
3246 RETURN_LONG(mail_msgno(imap_le_struct->imap_stream, msgno)); in PHP_FUNCTION()