![]() |
![]() |
-Beltek- |
![]()
Post
#1
|
Goście ![]() |
Kiedy próbuję wysłać emaila przez skrypt który mam w webservie wyskakuje błąd, pomógł by mi ktoś z tym?
Kod Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://smtp.gmail.com:25 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in C:\Program Files\WebServ\httpd\extensions\class.smtp.php on line 105
|
|
|
![]() |
-Beltek- |
![]()
Post
#2
|
Goście ![]() |
Ok poprawnie zainstalowałem, błędu już nie ma. ale teraz gdy prubuje wysłac email pojawia sie w ramce:
Cytat Language string failed to load: from_failedkalvarianu konfiguracja skryptu Kod # Enable extension=php_openssl.dll in php.ini in order to use gmail $cfg['SMTP_Host'] = 'ssl://smtp.gmail.com'; $cfg['SMTP_Port'] = 465; $cfg['SMTP_Auth'] = false; $cfg['SMTP_User'] = 'kalvarianu@gmail.com'; $cfg['SMTP_Password'] = 'moje haslo'; $cfg['SMTP_From'] = 'kalvarianu'; przykłąd oryginalny Kod # Example configuration for mercury
/* $cfg['SMTP_Host'] = 'localhost'; $cfg['SMTP_Port'] = 25; $cfg['SMTP_Auth'] = false; $cfg['SMTP_User'] = 'user@gmail.com'; $cfg['SMTP_Password'] = 'user'; $cfg['SMTP_From'] = 'user@gmail.com'; */ |
|
|
![]() ![]() |
![]() |
Aktualny czas: 13.10.2025 - 06:23 |