Posted by Rik on 07/27/07 15:47
On Thu, 26 Jul 2007 10:49:30 +0200, <sonja.chevre@gmail.com> wrote:
> 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 =3D $pop3->get_mail($i); // how to get the email
> ...
>
> But then how do I get the information about my attachments and how can=
> I save them?
Aside from the correct notes from David, there are several packages who =
=
can do this for you without having to reinvent the wheel. Several come t=
o =
mind:
1. <http://nl2.php.net/manual/en/ref.imap.php>
2. <http://nl2.php.net/mailparse>
3. =
<http://pear.php.net/package/Mail_mimeDecode/docs/latest/Mail_Mime/Mail_=
mimeDecode.html>
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|