Jump to content

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

Sarah
Link to comment
https://forums.phpfreaks.com/topic/9527-mail-on-remote-windows-server-not-working/
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.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.