<?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 => 'en',
  ),
  'this' => 
  array (
    0 => 'function.mailparse-msg-create.php',
    1 => 'mailparse_msg_create',
    2 => 'Create a mime mail resource',
  ),
  'up' => 
  array (
    0 => 'ref.mailparse.php',
    1 => 'Mailparse Functions',
  ),
  'prev' => 
  array (
    0 => 'function.mailparse-determine-best-xfer-encoding.php',
    1 => 'mailparse_determine_best_xfer_encoding',
  ),
  'next' => 
  array (
    0 => 'function.mailparse-msg-extract-part.php',
    1 => 'mailparse_msg_extract_part',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mailparse/functions/mailparse-msg-create.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mailparse-msg-create" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mailparse_msg_create</h1>
  <p class="verinfo">(PECL mailparse &gt;= 0.9.0)</p><p class="refpurpose"><span class="refname">mailparse_msg_create</span> &mdash; <span class="dc-title">Create a mime mail resource</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.mailparse-msg-create-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mailparse_msg_create</strong></span>(): <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span></div>

  <p class="simpara">
   Create a <code class="literal">MIME</code> mail resource.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mailparse-msg-create-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mailparse-msg-create-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="simpara">
   Returns a handle that can be used to parse a message.
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.mailparse-msg-create-notes">
  <h3 class="title">Notes</h3>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <span class="simpara">
    It is recommended to call <span class="function"><a href="function.mailparse-msg-free.php" class="function">mailparse_msg_free()</a></span> on the result
    of this function, when it is no longer needed, to avoid memory leaks.
   </span>
  </p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.mailparse-msg-create-seealso">
  <h3 class="title">See Also</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.mailparse-msg-free.php" class="function" rel="rdfs-seeAlso">mailparse_msg_free()</a> - Frees a MIME resource</span></li>
   <li><span class="function"><a href="function.mailparse-msg-parse-file.php" class="function" rel="rdfs-seeAlso">mailparse_msg_parse_file()</a> - Parses a file</span></li>
  </ul>
 </div>


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