Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/02/2012, 13:49
amils21
 
Fecha de Ingreso: agosto-2011
Ubicación: la paz
Mensajes: 83
Antigüedad: 12 años, 8 meses
Puntos: 4
Pregunta Como configurara el php.ini para envio de correos mediante gmail y un dominio

Configurar el php.ini para envió de correos mediante gmail ¿como se hace?

y como se haria si fuera un dominio

estoy usando el phpmailer solo que lei que hay que configurar el php ini

porfa ayuda

Código php.ini:
Ver original
  1. [mail function]
  2. ; For Win32 only.
  3. ; http://php.net/smtp
  4. SMTP = localhost
  5. ; http://php.net/smtp-port
  6. smtp_port = 25
  7.  
  8. ; For Win32 only.
  9. ; http://php.net/sendmail-from
  10. ;sendmail_from = [email protected]
  11.  
  12. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  13. ; http://php.net/sendmail-path
  14. ;sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
  15.  
  16. ; Force the addition of the specified parameters to be passed as extra parameters
  17. ; to the sendmail binary. These parameters will always replace the value of
  18. ; the 5th parameter to mail(), even in safe mode.
  19. ;mail.force_extra_parameters =
  20.  
  21. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
  22. mail.add_x_header = Off
  23.  
  24. ; Log all mail() calls including the full path of the script, line #, to address and headers
  25. ;mail.log = "C:\xampp\php\logs\php_mail.log"