hi, anyone know where to get the mail's property: "To", in the email? For example: From: steve@stevenchalker.net To: someone@somebody.com <- That
How do I get it in imap_header or imap_open? -Steven
I think I found it out. But, is this code correct?:
<?php $PUser="username"; $Pw="password"; $mbox=imap_open("{localhost:110/pop3}", $PUser, $Pw);
$h=imap_header($mbox, $num);
echo "To: $h->to<BR>\n"; // or echo "To: $h->toaddress<BR>\n"; // ? ?>