Jump to content


This topic is now archived and is closed to further replies.


Mail() on remote windows server not working ...

Recommended Posts

.. or more accurately, when I use the mail() function (even a *very* simple five liner script) on this remote windows server I get no errors, simply nothing gets delivered. Now I know the host is using a windows server configured with PHP5.

Looking at the phpinfo I can see that the SMTP server name is set, so is the path but sendmail_from is set to me@localhost.com and the sendmail_path has no value! I don't know whether they need to be set or whether they're needed at all. This is driving me nuts!

I've also installed a forum on the same host and no mails get delivered from the forum either so it seems it must be the host's configuration that's giving trouble. What I'm looking for is someone to let me know how the host *should* have their server set up so that my mail() functions will work ok. And how can I test that it's working. Remember they're using a windows server with PHP5.

I really hope someone can shed some light on this as I'm going round in circles!!

Thanks so much


Share this post

Link to post
Share on other sites
[a href=\"http://www.whproductions.com/info.php\" target=\"_blank\"]http://www.whproductions.com/info.php[/a]

That's the info listing from my personal site. It's on Linux, but the principle should be the same. I suggest contacting your host and asking them to look into it.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.