Reputation: 3
My environment is as follows:
-Windows IIS7 + Windows DNS Server (all DNS records and IIS7 settings are fully accessible by me).
-hMailServer with SMTP listening on 25.
I guess that's about it, my actual intentions are as follows:
I want to use WordPress for one of my domains which is pointed to the server, but currently it is unable to send emails (for example password reminders).
My knowledge is not exactly amazing for stuff like this, so be gentle to explain. :>
Upvotes: 0
Views: 6348
Reputation: 11516
You have to configure your SMTP settings in the php.ini
file (located in the php-directory). If you don't use smtpauth/ssl this will do the trick.
[mail function]
; For Win32 only.
SMTP = 192.168.1.10
; For Win32 only.
sendmail_from = [email protected]
However, the standard php mail function neither supports smtpauth nor ssl. Have a look at the specs.
As you are running windows, you can use fake sendmail. This supports auth and ssl. Read this guide, and it should work.
Upvotes: 2