You are here: Re: PHP & IMAP forwarding & attachments « PHP Programming Language « IT news, forums, messages
Re: PHP & IMAP forwarding & attachments

Posted by elyob on 10/23/69 11:25

"Janwillem Borleffs" <jw@jwscripts.com> wrote in message
news:43160014$0$3620$dbd4d001@news.euronet.nl...
> elyob wrote:
>> I've got the IMAP checking etc etc working just fine. However this
>> will be more troublesome if someone includes an attachment. Firstly,
>> the imap_body($mbox,$num) chucks out loads of gobbledygook[1] at the
>> moment. I guess this is the real code behind, but how should I
>> forward that?
>
> You should forward it as is, because it's base64 encoded binary data.

Out of interest, what method would you use to forward it? I would like it to
look like it has come from the originator and not showing as forwarded. I
was doing this ..

$body = imap_body($mbox,$i);
imap_mail($toaddress, $subject, $body, 'From: info@example.com');

.... which doesn't work.

Thanks

 

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

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