You are here: Re: Windows 200 server mail() « All PHP « IT news, forums, messages
Re: Windows 200 server mail()

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация