Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]PhpMailer problem z ustawieniem serwera SMTP
lordmonkey
post
Post #1





Grupa: Zarejestrowani
Postów: 58
Pomógł: 0
Dołączył: 2.02.2009

Ostrzeżenie: (0%)
-----


witam,
chciałbym "postawić" sobie na moim serwerze na Apachu serwer mailowy i do tego celu używam Phpmailer'a dla gmaila ale jakoś mi nie wychodzi. Dostaję tak błąd

Kod
Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\phpmailer\class.smtp.php on line 112


dla linijki kodu
Kod
#112     $host = "ssl://smtp.gmail.com";
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 559
Pomógł: 6315
Dołączył: 27.12.2004




jesli nie grzebales nic w klasie class.smtp.php to twoim bledem jest to, ze odpalasz klase napisaną w php5 na serwerze ktory uzywa php4 (IMG:style_emoticons/default/smile.gif)
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: 27.09.2025 - 18:41