SMTP connect() failed for yahoo mail

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
saleh
User
Posts: 470

SMTP connect() failed for yahoo mail

Post by saleh »

hello
please help
When you request the password This error :SMTP connect() failed
I tried a yahoo and gmail and Mail Site
The same error: SMTP connect() failed

What's the solution ?

Outgoing Mail (SMTP) Server

Server - smtp.mail.yahoo.com
Port - 465 or 587
Requires SSL - Yes
Requires authentication - Yes

SMTP Server: smtp.mail.yahoo.com
SMTP Server Port: 465
SMTP Server Username: Full Email Address of Desired Account
SMTP Server Password: Correct PW
Sender Email: Full Email Address of Desired Account
Recipient Email: Full Email Address of Desired Recipient
Security: SSL

(mysqlt): SET NAMES 'utf8'
Error (0):

(mysqlt): SELECT * FROM users WHERE (Email = 'sale1h@hotmail.com')
Error (0):

I don't know what is wrong. Please help
Thank you!


saleh
User
Posts: 470

Post by saleh »

Hello
The problem is resolved from the support group PHP Support PHPMAKER

Now it works successfully

The solution is:

The email sending with Yahoo mail fails there is some changes in recent versions of PHP regarding SSL/TLS.

Please download the latest phpmailer from below URL then extract and replace the corresponding files (be careful to replace the matching files) in the folder in /<application root>/phpmailer529/

Click the "Download ZIP" in right hand side V5.2.14)

In Email_Sending server event for the page, add below code.
$Email->SMTPOptions = array('ssl' => array('verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true));

If you have many pages, you may want to customized the ew_SendEmail() function instead.

On the other hand, please change your settings as below marked with ***:

SMTP Server: smtp.mail.yahoo.com
*** SMTP Server Port: 587
SMTP Server Username: Full Email Address of Desired Account
SMTP Server Password: Correct PW
Sender Email: Full Email Address of Desired Account
Recipient Email: Full Email Address of Desired Recipient
*** Security: TLS

Thank support team


Post Reply