You are here: imap_mail_compose function in PHP5 « PHP « IT news, forums, messages
imap_mail_compose function in PHP5

Posted by Bronislav Klucka on 09/30/82 11:07

Hi, i've got problem with imap_mail_compose function, I have this code:

--------------------------------------------
$envelope["from"]= "joe@example.com";
$envelope["to"] = "foo@example.com";
$envelope["cc"] = "bar@example.com";

$body[1]["type"] = TYPETEXT;
$body[1]["subtype"] = "plain";
$body[1]["contents.data"] = "contents.data3\n\n\n\t";

echo imap_mail_compose($envelope, $body);

--

but the result is only the text "contents.data3", this is not expected
functionality....
I'm using PHP5.0.3 on windows, I cannot change it to PHP4, because whole
project is using PHP5 functions and object model... so does anybody
know, what might be wrong?

The strange thing is, that I already has PHP5.0.3 installed and
everything was working fine, I have to reinstall it, so I've installed
PHP again and now it's not working....


Any advice? solution?


Thanks

Bronislav Klucka

 

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

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