SMTP() connect failed
O phpmailer não envia emails de jeito nenhum.
1. Já troquei as portas para 25, 465, 587 e 995;
2. Já troquei a SMTPSecure para tls e ssl;
3. O fsockopen retorna ok com as 4 portas citadas acima;
4. Já modifiquei meu php.ini de:
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = email@your domain.com
para:
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 995
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = meu_email@gmail.com
mas só retorna SMTP connect() failed.
Discussão (2)
Carregando comentários...