PHP send yahoo email using smtp

How to send yahoo email using smtp server by php.You can send yahoo email using PHPMailer package.Simply pass parameters. You can Download PHPMailer from here. If you execute this function in localhost, you must enable “php_openssl” extension of the wamp/xampp.