Bonjour,
j'ai besoin de tester l'envoi de mail sur mon server local, je passe par une de mes adresse hotmail.
Pour cela j'ai configuré le php.ini comme ceci :
Mais j'ai beau faire, j'ai toujours l'erreur
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 [mail function] ; For Win32 only. ; http://php.net/smtp smtp = smtp.live.com ; http://php.net/smtp-port smtp_port = 587 smtp_start_tls: 1 ; For Win32 only. ; http://php.net/sendmail-from sendmail_from = adresse@hotmail.fr
SMTP server response: 530 5.7.0 Must issue a STARTTLS command first
A noter que j'ai bien l'extension Openssl sur enabled.
Dois je faire autre chose pour activer le STARTTLS en php ?
Merci
Partager