I recently loaded the latest version of apache2, php, and mysql onto a windows XP machine for the purposes of hosting a social networking site using Elgg. For some reason I cannot get the email to work properly. I keep getting the error "could not instantiate mail function" whenever the app ties to send out an email. I have a feeling it has something to do with user authentication on th SMTP site I am trying to use. I was originally using the network solutions smtp but I am now trying to use the gmail smtp bu I keep getting the same error.
In my php.ini file I have the following
; For Win32 only.
; SMTP = locahost
SMTP = mail.gmail.com
smtp_port = 465
I Also tried setting up indigomail to do the authentication but I couldn't get that to work either.
Any help on getting the email function to work would be aprreciated.