![Picture of Steffen Stollfuß Picture of Steffen Stollfuß](/graphics/unknown.gif)
Steffen Stollfuß - 2008-07-16 11:56:41 -
In reply to message 1 from Andrew Gill
Hi,
The CC and BCC Reciever addresses are stored in the email header.
When you get a mail with the class you get an array.
$array = array( "<HEADER>",
"a header line",
"CC: Hans Mustermann <hans.mustermann@web.de>"
"and soon",
"</HEADER>" );
while( ($buf = next($array)) != "</HEADER>" )
{
if( preg_match("/^(CC|BCC)/i",$buf) )
{
// Now you have the line
}
}
Good Luck