I have just recently written a complete webmail software using PHP, and
need to implement features that determin whether the email has been read
or not.
The function imap_setflag_full can set the flag, but i have no way of
seeing which e-mails have what flags.
imap_search allows you to search
i need to uses reg ex to change to
the < brackets have to be represented using < and >
I have tried so many ways, but none work. here is an example of my
faliure.
$body =
preg_replace("/(href=\/?)(\w+)(>\/?)/e","'\\1'.'\\2'./'target=_blank/
'.'\\3'", $body);
Thanks
2 matches
Mail list logo