Manuel, here is a dummy email.
This is what came out after using GetHeadersAndBody... I converted the headers array into raw format (as in the above post), then did [b]$rawHeaders . "\r\n" . $allBody[/b] to get the following:
To:  <
[email protected]>
Subject: Testing
From: Jamin <
[email protected]>
Reply-To: Jamin <
[email protected]>
Sender: 
[email protected]
Errors-To: Jamin <
[email protected]>
X-Mailer: http://www.phpclasses.org/mimemessage $Revision: 1.78 $ (mail)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="798dc2234ddce217585463a3cb853a5f"
--798dc2234ddce217585463a3cb853a5f
Content-Type: text/plain; charset=ISO-8859-1
Testing
--798dc2234ddce217585463a3cb853a5f
Content-Type: text/html; charset=ISO-8859-1
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style type="text/css">
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
    }
</style>
</head>
<body>
Testing
</body>
</html>
--798dc2234ddce217585463a3cb853a5f--