imap_mail_compose function in PHP5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--------------------------------------------
$envelope["from"]= "joe@xxxxxxxxxxx";
$envelope["to"]  = "foo@xxxxxxxxxxx";
$envelope["cc"]  = "bar@xxxxxxxxxxx";

$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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux