<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.mailparse.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ru',
  ),
  'this' => 
  array (
    0 => 'function.mailparse-msg-parse.php',
    1 => 'mailparse_msg_parse',
    2 => 'Инкрементальное разбирает данные в буфер',
  ),
  'up' => 
  array (
    0 => 'ref.mailparse.php',
    1 => 'Mailparse',
  ),
  'prev' => 
  array (
    0 => 'function.mailparse-msg-get-structure.php',
    1 => 'mailparse_msg_get_structure',
  ),
  'next' => 
  array (
    0 => 'function.mailparse-msg-parse-file.php',
    1 => 'mailparse_msg_parse_file',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ru',
    'path' => 'reference/mailparse/functions/mailparse-msg-parse.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mailparse-msg-parse" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mailparse_msg_parse</h1>
  <p class="verinfo">(PECL mailparse &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">mailparse_msg_parse</span> &mdash; <span class="dc-title">Инкрементальное разбирает данные в буфер</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.mailparse-msg-parse-description">
  <h3 class="title">Описание</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mailparse_msg_parse</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$mimemail</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$data</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   Инкрементальное разбирает данные в заданный MIME-ресурс.
  </p>
  <p class="simpara">
   Функция позволяет обрабатывать файл по частям, вместо того, чтобы
   читать и обрабатывать сразу весь массив данных.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mailparse-msg-parse-parameters">
  <h3 class="title">Список параметров</h3>
  <dl>
   
    <dt><code class="parameter">mimemail</code></dt>
    <dd>
     <span class="simpara">
      Корректный <code class="literal">MIME</code>-ресурс.
     </span>
    </dd>
   
   
    <dt><code class="parameter">data</code></dt>
    <dd>
     <blockquote class="note"><p><strong class="note">Замечание</strong>: 
      <span class="simpara">
       Сообщение, содержащееся в <code class="parameter">filename</code>, должно заканчиваться новой строкой
       (<code class="literal">CRLF</code>); иначе последняя строка сообщения не будет проанализирована.
      </span>
     </p></blockquote>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mailparse-msg-parse-returnvalues">
  <h3 class="title">Возвращаемые значения</h3>
  <p class="simpara">
   Функция возвращает <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>, если выполнилась успешно, или <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong>, если возникла ошибка.
  </p>
 </div>

</div><?php manual_footer($setup); ?>