Hej
Jag försökte göra ett formulär > mail funktion men stötte på lite problem. Om jag i ini filen ändrade url till min ISPs SMTP så fungerade det bra. Nu vill jag ju ha en egen mailserver så jag kan skicka från localhost. Först testade jag med dem som finns i IIS:en men det fick jag inte att fungera. Testa sedan ett gratis som heter postcastserver, http://www.postcastserver.com/
Denna server har jag fått att fungera (kan skicka mail från min mail klient till localhost).
På php.net står det så här:
...................
The Windows implementation of mail() differs in many ways from the Unix implementation. First, it doesn't use a local binary for composing messages but only operates on direct sockets which means a MTA is needed listening on a network socket (which can either on the localhost or a remote machine). Second, the custom headers like From:, Cc:, Bcc: and Date: are not interpreted by the MTA in the first place, but are parsed by PHP. PHP < 4.3 only supported the Cc: header element (and was case-sensitive). PHP >= 4.3 supports all the mentioned header elements and is no longer case-sensitive.
...................
Är det någon som vet vad de menar?
Är det någon som fått till detta på Windows?
Tack
{ CONFIG }
Celeron 300, Win XP, Apache 2.0, PHP 4.2