Forum

[SOLVED] Error Send...
 
Notifications
Retirer tout

[SOLVED] Error Sending email

5 Posts
2 Utilisateurs
0 Reactions
4,313 Vu
(@ripal)
Posts: 53
Active Member
Début du sujet
 
[#4048]

Below error while sending mail from ProjeQtOR

2017-01-29 11:42:44.308 ** ERROR ** ERROR **
2017-01-29 11:42:44.320
** ERROR ** on file 'G:PleskVhostspm-logic.comhttpdocswebprojeqtorexternalPHPMailerclass.smtp.php' at line (286)
2017-01-29 11:42:44.334
** ERROR ** cause = stream_socket_client(): unable to connect to smtp.gmail.com:587 (An attempt was made to access a socket in a way forbidden by its access permissions.
)
2017-01-29 11:42:44.347
** ERROR ** Error sending mail
2017-01-29 11:42:44.360
** ERROR ** SMTP Server : tls://smtp.gmail.com
2017-01-29 11:42:44.834
** ERROR ** SMTP Port : 587
2017-01-29 11:42:44.848
** ERROR ** Mail stored in Database : #29
2017-01-29 11:42:44.860
** ERROR ** PHPMail error : SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
2017-01-29 11:42:44.872
** ERROR ***** PHPMail debug : 2017-01-29 10:42:44 SMTP ERROR: Failed to connect to server: An attempt was made to access a socket in a way forbidden by its access permissions.
(10013)
2017-01-29 10:42:44 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Regards
Ripal Shah


 
Posté : 29 Jan PM 13:011
(@ripal)
Posts: 53
Active Member
Début du sujet
 

Some changes made and given below error

2017-01-29 18:44:55.581 ** ERROR ** SMTP Server : xx.yy.zz
2017-01-29 18:44:55.589 ** ERROR ** SMTP Port : 25
2017-01-29 18:44:55.597 ** ERROR ** Mail stored in Database : #55
2017-01-29 18:44:55.605 ** ERROR ** PHPMail error : SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
2017-01-29 18:44:55.615 ** ERROR ** PHPMail debug : 2017-01-29 13:14:55 CLIENT -> SERVER: EHLO xx.yy.zz
2017-01-29 13:14:55 CLIENT -> SERVER: STARTTLS
2017-01-29 13:14:55 SMTP ERROR: STARTTLS command failed: 500 command unrecognized
2017-01-29 13:14:55 SMTP Error: Could not connect to SMTP host.
2017-01-29 13:14:55 CLIENT -> SERVER: QUIT
2017-01-29 13:14:55 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting


 
Posté : 29 Jan PM 16:011
(@babynus)
Posts: 14952
Membre Admin
 

gmail required SSL through port 465


 
Posté : 29 Jan PM 18:011
(@ripal)
Posts: 53
Active Member
Début du sujet
 

Below error after gmail setup

2017-01-29 20:57:25.339 ** ERROR ** Error sending mail
2017-01-29 20:57:25.354 ** ERROR ** SMTP Server : ssl://smtp.gmail.com
2017-01-29 20:57:25.368 ** ERROR ** SMTP Port : 465
2017-01-29 20:57:25.382 ** ERROR ** Mail stored in Database : #74
2017-01-29 20:57:25.395 ** ERROR ** PHPMail error : SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
2017-01-29 20:57:25.409 ** ERROR ** PHPMail debug : 2017-01-29 15:27:23 CLIENT -> SERVER: EHLO xx.yy.zz
2017-01-29 15:27:23 CLIENT -> SERVER: AUTH LOGIN
2017-01-29 15:27:23 CLIENT -> SERVER: cmlwYWwuMTAyMUBnbWFpbC5jb20=
2017-01-29 15:27:23 CLIENT -> SERVER: UiEwMXBhMDJsMDM=
2017-01-29 15:27:24 SMTP ERROR: Password command failed: 534-5.7.14 Please log in via your web browser and
534-5.7.14 then try again.
534-5.7.14 Learn more at
534 5.7.14 https://support.google.com/mail/answer/78754 e13sm25536720pgf.48 - gsmtp
2017-01-29 15:27:24 SMTP Error: Could not authenticate.
2017-01-29 15:27:24 CLIENT -> SERVER: QUIT
2017-01-29 15:27:25 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting


 
Posté : 29 Jan PM 18:011
(@ripal)
Posts: 53
Active Member
Début du sujet
 

parameter in php.ini was missing.

added and solved.

working perfectly.

Thanks
Ripal Shah


 
Posté : 29 Jan PM 18:011
Share:
Retour en haut