OK, I would like to set up the mail() function so I can send email from localhost to Hotmail. Unfortunately, I'm getting the following 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:\xampp\htdocs\bidders2\signup.php on line 224
In my php.ini, I had:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail_from = admin@bidders.co.za
Now, I'm using VirtualHosts, the URL for which doesn't exist. I want to be able to send from "localhost" or "local_bidders.co.za" since that Internet Explorer bug doesn't allow me to run my scripts if I use my virtualhost ServerAlias.
I then tried SMTP=local_bidders.co.za, but that didn't work either. Then I tried smtp.local_bidders.co.za, but I still got an error there.
Now, my virtualhosts aren't set up as a live server, obviously, and I don't plan to set them up that way. Will I not be able to set up email, or is there something else I must do to get emails set up properly?
Thanks.