How can I send an email using mail function in php. have I to put mailServer IP address in this function
I'm waiting for you reply
Thanks anyway
How can I send an email using mail function in php. have I to put mailServer IP address in this function
I'm waiting for you reply
Thanks anyway
Everything you need to know about the Mail() function is described here. That being said, Mail() does not accept mail server configurations. You configure the mail server in your php.ini file (if you don't know where it is located, you should probably contact your system administrator to configure it for you).
Also I would suggest using some PHP mailer class for sending emails. Such as PHP Mailer or SwiftMailer. This classes will save you many troubles with headers, attachments, etc