Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Konfiguracja: Funkcja Mail?!
<?Początkując...
post
Post #1





Grupa: Zarejestrowani
Postów: 40
Pomógł: 0
Dołączył: 11.05.2004

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


Cześć,
Mam pytanie do zawansowanych (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) , czy moglby mi ktos powiedziec/pomoc jak mozna uruchomic funkcje mail() ?
Zainstalowalem se Apache, branego z RPMów - piknie smiga (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) [ poza funkcja mail() ] + php + MySQL.
Nie mam zainstalowanego zadnego serwera mailowego (typu sendmail, itd),
w pliku php.INI mam takie wartosci w sekcji SMTP:

[mail function]
; For Win32 only.
SMTP = smtp.o2.pl
; For Win32 only.
sendmail_from = root@localhost
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i

Wpisany mam serwer: smtp.o2.pl, bo slyszalem ze niezle sie sprawuje i nie wystepuja z nim problemy.

Prosilbym o jakies rady jak uruchomic ta funkcje? Moze robie cos zle?! (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Z gory wielkie Dzieki (IMG:http://forum.php.pl/style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
slash^
post
Post #2





Grupa: Zarejestrowani
Postów: 278
Pomógł: 36
Dołączył: 9.04.2003
Skąd: Płock

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


Szybkie uruchomienie funkcji mail:
http://www.softstack.com/download/freesmtp.zip

I ustawienia w php.INI:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
sendmail_from = test@localhost.pl

... czyli standardowe (IMG:http://forum.php.pl/style_emoticons/default/tongue.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: 6.10.2025 - 12:04