Ja wamp is mijn proggie voor localhost. (of begrijp ik je nu verkeerd?) Ik heb em in html gemaakt, maar hij werkt niet op localhost. Wamp verwijst naar het bestandje php.ini, maar kan niet uitvinden wat hij bedoelt met smtp_port :/ Het staat niet in de php.ini, weetje misschien hoe ik toch mijn email form kan testen op localhost :/?
[mail function]
; For Win32 only.
SMTP = SMTP.SERVER.NL
; For Win32 only.
sendmail_from = MAIL
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_paramaters =
maar waar is smtp_port? die moet op 25 staan volgens de error;
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\test\contact.php on line 146