I was reading the php mail() function doc but I missed some config fields such as user or passsword.
I know the smtp server is set on php.ini, but I haven't seen anything to set the user and the password.
How can I set the user which I want to send the email to as sender?