if you are sending mail by php, it does not physically send anything, it just prepares the mail by your input and then commits it to the SMTP server. and you have to define that server in php.ini
SMTP = mail.something.com
smtp_port = 25
gmail ain't good for this, because it's smtp server does not use classic http protocol and port 25, it needs SSL and it needs username and password, so it
Forum:
WampServer English