|
Posted by ZeldorBlat on 08/11/06 18:53
Trent wrote:
> Hello all.
>
> I would be gratefull for some guidance.
>
> I have been using php on a unix server no problems.
>
>
> Now i am working on a windows 200 server and i cannot
> get mail() to work
>
> I have tried all king s of script from around the web no luk.
>
> I have written a very basic mail script to test and even this does not
> work any help would be gratefully received.
>
> even this basic script will not work
> <html>
> <head>
> <title>test.php</title>
> </head>
>
> <?php
> #######################
> $to = 'me@mydomain.com';
> $subject = 'hello world';
> $message = 'hello world';
> // Send
> mail($to, $subject, $message);
> ##########################
>
>
> #########################
> print "";
> print "";
> print "";
> print "";
> print "<br>";
> print "<font size=\"-2\" face=\"Arial,
> Helveticasans-serif\">done</font>";
>
> ?>
>
> </body>
> </html>
> <?php
>
> // Show all information, defaults to INFO_ALL
> phpinfo();
> ?>
Is the SMTP server installed and working on your Windows machine?
Navigation:
[Reply to this message]
|