Bonjour,
Lors de la création de tickets il n'y a pas d'envoi de mail automatique et quand on essaye d'en envoyer à partir d'un ticket existant non plus.
J'ai activé le débogage et j'ai les messages suivants :
SMTP SERVER:
2017-11-23 13:07:17 Connection: opening to SSL0.OVH.NET:587, timeout=300, options=array()
2017-11-23 13:07:17 Connection: opened
2017-11-23 13:07:17 SMTP INBOUND: "220 ssl0.ovh.net player798"
2017-11-23 13:07:17 SERVER -> CLIENT: 220 ssl0.ovh.net player798
2017-11-23 13:07:17 CLIENT -> SERVER: EHLO support-dw.fr
2017-11-23 13:07:17 SMTP INBOUND: "250-player798.ha.ovh.net"
2017-11-23 13:07:17 SMTP INBOUND: "250-SIZE 104850000"
2017-11-23 13:07:17 SMTP INBOUND: "250-STARTTLS"
2017-11-23 13:07:17 SMTP INBOUND: "250-AUTH PLAIN LOGIN"
2017-11-23 13:07:17 SMTP INBOUND: "250-AUTH=PLAIN LOGIN"
2017-11-23 13:07:17 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2017-11-23 13:07:17 SMTP INBOUND: "250 8BITMIME"
2017-11-23 13:07:17 SERVER -> CLIENT: 250-player798.ha.ovh.net250-SIZE 104850000250-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250 8BITMIME
2017-11-23 13:07:17 CLIENT -> SERVER: STARTTLS
2017-11-23 13:07:17 SMTP INBOUND: "220 2.0.0 Ready to start TLS"
2017-11-23 13:07:17 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
2017-11-23 13:07:17 CLIENT -> SERVER: EHLO support-dw.fr
2017-11-23 13:07:17 SMTP INBOUND: "250-player798.ha.ovh.net"
2017-11-23 13:07:17 SMTP INBOUND: "250-SIZE 104850000"
2017-11-23 13:07:17 SMTP INBOUND: "250-AUTH PLAIN LOGIN"
2017-11-23 13:07:17 SMTP INBOUND: "250-AUTH=PLAIN LOGIN"
2017-11-23 13:07:17 SMTP INBOUND: "250-ENHANCEDSTATUSCODES"
2017-11-23 13:07:17 SMTP INBOUND: "250 8BITMIME"
2017-11-23 13:07:17 SERVER -> CLIENT: 250-player798.ha.ovh.net250-SIZE 104850000250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250 8BITMIME
2017-11-23 13:07:17 Auth method requested: UNKNOWN
2017-11-23 13:07:17 Auth methods available on the server: PLAIN,LOGIN
2017-11-23 13:07:17 Requested auth method not available:
2017-11-23 13:07:17 Auth method selected: LOGIN
2017-11-23 13:07:17 CLIENT -> SERVER: AUTH LOGIN
2017-11-23 13:07:17 SMTP INBOUND: "334 VXNlcm5hbWU6"
2017-11-23 13:07:17 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2017-11-23 13:07:17 CLIENT -> SERVER: dGVjaG5pcXVlQGRpZ2l0LXdlYi5mcg==
2017-11-23 13:07:17 SMTP INBOUND: "334 UGFzc3dvcmQ6"
2017-11-23 13:07:17 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2017-11-23 13:07:17 CLIENT -> SERVER: ZW1wbG9pNDk=
2017-11-23 13:07:19 SMTP INBOUND: "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6"
2017-11-23 13:07:19 SERVER -> CLIENT: 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6
2017-11-23 13:07:19 SMTP ERROR: Password command failed: 535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6
SMTP Error: Could not authenticate.
2017-11-23 13:07:19 CLIENT -> SERVER: QUIT
2017-11-23 13:07:19 SMTP INBOUND: "221 2.0.0 Bye"
2017-11-23 13:07:19 SERVER -> CLIENT: 221 2.0.0 Bye
2017-11-23 13:07:19 Connection: closed
SMTP Error: Could not authenticate.
Fatal error: Uncaught PHPMailer\PHPMailer\Exception: SMTP Error: Could not authenticate. in /home/supportdpf/www/digit-web/components/PHPMailer/src/PHPMailer.php:1895 Stack trace: #0 /home/supportdpf/www/digit-web/components/PHPMailer/src/PHPMailer.php(1709): PHPMailer\PHPMailer\PHPMailer->smtpConnect(Array) #1 /home/supportdpf/www/digit-web/components/PHPMailer/src/PHPMailer.php(1465): PHPMailer\PHPMailer\PHPMailer->smtpSend('Date: Thu, 23 N...', 'This is a multi...') #2 /home/supportdpf/www/digit-web/components/PHPMailer/src/PHPMailer.php(1307): PHPMailer\PHPMailer\PHPMailer->postSend() #3 /home/supportdpf/www/digit-web/core/mail.php(470): PHPMailer\PHPMailer\PHPMailer->send() #4 /home/supportdpf/www/digit-web/preview_mail.php(25): require('/home/supportdp...') #5 /home/supportdpf/www/digit-web/index.php(879): include('/home/supportdp...') #6 {main} thrown in /home/supportdpf/www/digit-web/components/PHPMailer/src/PHPMailer.php on line 1895
[Résolu] problème d'envoi de mail
Bonjour,
Pouvez vous vérifier votre identifiant et mot de passe de messagerie.
Et nous donner le nom et la version de votre serveur de messagerie.
Cdt
Pouvez vous vérifier votre identifiant et mot de passe de messagerie.
Et nous donner le nom et la version de votre serveur de messagerie.
Cdt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.59 | MariaDB: 11.5.2 | PHP: 8.3.12 | https://doc.gestsup.fr/