Hello !
I'm looking for a script which allows me to read emails and attachment
from a pop server (then I'll save the email's text in a db and the
attachments on the server).
So I have found this article: http://www.phpit.net/article/read-email-php-pop3/
....
$email = $pop3->get_mail($i) ; // how to get the email
....
i write the code below to delete the mail from mail server
[code=php]
$do = $pop3->delete_mail (1);
if ($do == false)
{
echo $pop3->error;
}[/code]
this doesn't work
anyone help me
Thanks a lot
I'm looking for a script which allows me to read emails and attachment
from a pop server (then I'll save the email's text in a db and the
attachments on the server).
So I have found this article: http://www.phpit.net/article/read-email-php-pop3/
....
$email = $pop3->get_mail($i) ; // how to get the email
....
i write the code below to delete the mail from mail server
[code=php]
$do = $pop3->delete_mail (1);
if ($do == false)
{
echo $pop3->error;
}[/code]
this doesn't work
anyone help me
Thanks a lot
Comment