You are here: Re: [reading email] How to save the attachments? « PHP Programming Language « IT news, forums, messages
Re: [reading email] How to save the attachments?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация