Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Unable to find the socket transport "ssl"
-Beltek-
post
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
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
-Beltek-
post
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';
*/
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 13.10.2025 - 06:23