You are here: I have mails in text plain, how i can imap_fetchstructure() ? « PHP « IT news, forums, messages
I have mails in text plain, how i can imap_fetchstructure() ?

Posted by America del Sur on 07/01/05 13:59

Hello,

I have a list of mails taken from my old host in cPanel

Now i want read this messages, and they are in text plain.

Wath i can do ?

I submit each message to me BD MySQL, but when i do
this:[PHPNET]SELECT * FROM mails WHERE...[/PHPNET] And
after[PHPNET]imap_fetchstructure($mail);[PHPNET]This only ERROR.

Say:

Warning: imap_fetchstructure(): supplied argument is not a valid imap
resource in /home...

AND [PHPNET]imap_fetchstructure($mail,0);[PHPNET]Is =
AND [PHPNET]imap_fetchstructure($mail,1);[PHPNET]Is =

How i can read this mail in MySQL or textfile ?
The point is do imap_fetchstructure() becouse some mails have Files.

Thanks.
------------------------------------------------------------------------------------------------
My english is bad, sorry, here the message with other words:

Hello,

can you helpme with my PHP please?

Hello, i taken a message from my mailbox, (cPanel).

And after i arrange this in a $var; and when i run

imap_fetchstructure($var);

OR

imap_fetchstructure($var,0);

This = error.

I read in PHP.net but i no understand please help, thanks.

I used Linux

Thanks.
----------------------------------------


THANKS BY ALL.

;-)

 

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

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