Karel Kozlik wrote:
 Hi All,
function imap_mail_compose() not working on my server. This script:

<?
    $envelope["From"]="[EMAIL PROTECTED]";
    $envelope["To"]="[EMAIL PROTECTED]";

    $part1["type"]=TYPEMULTIPART;
    $part1["subtype"]="mixed";

    $part2["type"]=TYPETEXT;
    $part2["subtype"]="plain";
    $part2["contents.data"]="asdfjaskdfhjk";

    $part3["type"]=TYPETEXT;
    $part3["subtype"]="html";
    $part3["contents.data"]="sdafjaasdjkjdfka";

    $body[1]=$part1;
    $body[2]=$part2;
    $body[3]=$part3;

echo    $mail=imap_mail_compose($envelope, $body);
?>

return only one line:
--117491828-5973-1142442255=:332--


altouch when I run this script on another server it correctly return this:

What version of imap do you have on both servers?

Maybe one is older and has some bugs that have been fixed.

--
Postgresql & php tutorials
http://www.designmagick.com/

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

Reply via email to