Mail_mimeDecode::getXML()

Mail_mimeDecode::getXML() – create XML representation of MIME parts

Synopsis

require_once 'Mail/mimeDecode.php';

string getXML ( array $decoded )

Description

getXML() converts the returned array from decode () into a valid XML document.

Parameter

Return value

string - the XML document

Note

This function can be called statically.

Example

Create a XML representation

<?php
...      
$output $obj->decode();
$xml    Mail_mimeDecode::getXML($output);
...
?>
decode of UU-coded data (Previous) decode an email (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.