My config file is set correctly, with no mention of localhost, and yet when I send an email I get:-
mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini
The relevant part of php.ini is:
; For Win32 only.
smtp = relay.advantage.co.nz
smtp_port = 25
There are no stray php.ini files on the server. Localhost is not selected on the IIS SMTP E-Mail settings.
Where is it getting the localhost from?
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)