Error while sending mail using php

Error while sending mail using php

Hi There,

I am using zoho mail it not creating any issue when i am sending mail using gmail/yahoo/rediff/hotmail. It is creating issue when i am try to use php code to send the mail. 
Here is code:-


ini_set("sendmail_from", "mymail.domain.com");
ini_set("auth_username", "mymail.domain.com");
ini_set("auth_password", "password");
        ini_set("SMTP", "smtp.zoho.com");
        ini_set("smtp_port", "465");
        
mail(' abc@abc.cm','test', 'Test', 'No Repy!'); 

Please help me if i am missing something.

thanks