php mail

How can i send email using php on our hmailserver? this hmail server has a host ip for example, 192.16.1.1 and outgoing port of 110. what should i do to send email on that host? All your response are very appreciated. Thank you