I have one website name e.g. www.mydomain.com
Now i want to configure smtp setting in my local pc.
Below is the phpini code i have set.
Here i have not used any username and password.
[mail function]
; For Win32 only.
SMTP = mail.mydomain.com
smtp_port = 25
And it is working.. Strange !!!!
How this can work?
I mean if this is the only required info then anyone can set this detail and can use my domain's smtp.
What is the reason behind working of it?
If i want to use my gmail account info for smtp. Is it works?
what is the steps to follow?
Any help will be appreciated.