Home » PHP » PHP send yahoo email using smtp

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.

Final result is like this.

SMTP -> FROM SERVER:220 smtp216.mail.ne1.yahoo.com ESMTP
SMTP -> FROM SERVER: 250-smtp216.mail.ne1.yahoo.com 250-AUTH LOGIN PLAIN XYMCOOKIE 250-PIPELINING 250-SIZE 41697280 250 8BITMIME
SMTP -> FROM SERVER:250 OK , completed
SMTP -> FROM SERVER:250 OK , completed
SMTP -> FROM SERVER:354 Start Mail. End with CRLF.CRLF
SMTP -> FROM SERVER:250 OK , completed

Download PHP send yahoo email using smtp Example (50 KB)

Tags

Similar posts