PHP - error con mail() - Socket Error # 11001Host not found

 
Vista:
sin imagen de perfil
Val: 10
Ha aumentado su posición en 17 puestos en PHP (en relación al último mes)
Gráfica de PHP

error con mail() - Socket Error # 11001Host not found

Publicado por israeldavid (6 intervenciones) el 18/09/2018 17:53:14
realize la configuracion del php ini y el smtp pero aun asi la funcion mail Abajo ejemplo

1
mail('israejjjjjjjj.0@gmail.com','hola','holaquehace')
me retorna false intente con Abajo ejemplo

1
mail('israeldbksabkag@gmail.com','hola','hhoajljla\r\n')
y lo mismo este es mi php.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.gmail.com
; http://php.net/smtp-port
smtp_port = 465
 
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = me@example.com
 
; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-pathabajovacia
sendmail_path =C:\Bitnami\wampstack-7.1.17-0\sendmail\sendmail.exe -t
 
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail().
;mail.force_extra_parameters =
 
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = Off
 
; The path to a log file that will log all mail() calls. Log entries include
; the full path of the script, line number, To address and headers.
;mail.log =
; Log mail to syslog (Event Log on Windows).
;mail.log = syslog
me sale el siguiente error Socket Error # 11001Host not found.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder