ID: 14329
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: *Mail Related
Operating System: WindowsCE
PHP Version: 4.1.0
New Comment:

Not a bug, seek for more support on the [EMAIL PROTECTED] mailinglist.

Derick

Previous Comments:
------------------------------------------------------------------------

[2001-12-03 15:18:03] [EMAIL PROTECTED]

ok when i run the mail script i get :
Warning: Failed to Connect in C:\Inetpub\docs\flatlinks\action.php on line 48

it says the error is in the Mail() line which is :
mail($to, $subject, $message, $headers);

i would realy apriechate any help,

here the script:
$to  = "$name1 <$mail1>";

$subject = "Hey, its $from";

$message = '
<html>
<head>
<title>Hello</title>
</head><body><left>
<?php echo $name1; ?>
<p>
Hi
</p>
</left></body></html>
';
        
        /* set the Content-type header to send html mail */
        $headers  = "MIME-Version: 1.0\r\n";
        $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

        mail($to, $subject, $message, $headers);


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14329&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to