Not able to open website session issue

Problem solved i have added

ini_set(‘session.save_path’,realpath(dirname($_SERVER[‘DOCUMENT_ROOT’]) . ‘/tmp’));

to my session.php file

but now i facing new issue with this hosting

I have implemented send email after form submit but mail dint sent

attached mail function

please help why mail dint sent