Mail sending issues

I had hosted a website with this script.But there is problem in sending email.I checked error log.It showing following warning

mod_fcgid: stderr: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /var/www/vhosts/ on line 273

Is SSL certificate needed for hosting script?Expecting responses and Thanking in advance.

It sounds like what is happening is that you have chosen SMTP settings which use a secure connection based on SSL. Your host tries to open an SSL connection to the SMTP server, but your host does not recognize some component of the remote server’s SSL certificate (or the parent certificate chain).

Check with your hosting provider support. Supply them with the SMTP servername and port you are using, and let them know the error message you are receiving. They will be able to either install trust for the certificate locally to your account, or instruct you how to do so, or provide an alternate suggestion for SMTP configuration.