Hello
Im trying to send a mail from a php-program. Im using a test program and the
code for this is as follows:
<?php
$from = me@myaddress.com";
$subject = "Test";
$to = 'm**@myaddress.com;
$mailbody = 'mailbody';
mail($to,$subject,$message,$from);
?>
When I run the page/program I get the following error msg displayed:
"Warning: Failed to Connect in G:\home\server\users\me.com\cgi-bin\send.php
on line 5"
The mail is not delivered. I also tried with <> before and after the value
in the $form. And, of course, the addresses are really ones and both are
presents on the server. Does anyone know what the problem could be?
<phpbeginner>