imap_mail_compose function in PHP5
| From: | Bronislav Klucka | Date: | Wed, 02 Feb 2005 19:51:22 +0000 |
| Subject: | imap_mail_compose function in PHP5 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-207926@lists.php.net to get a copy of this message | ||
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