|
|
|
|
 |
|
 |
|
Matiis |
Temat postu: [PHP] mail() |
Administrator
Dołączył: 03 Mar 2007
Posty: 63
Przeczytał: 0 tematów
Ostrzeżeń: 0/100
Skąd: Prosto z forum tibia.org.pl
|
|
Orginalny temat : [link widoczny dla zalogowanych]
This is By Killavus :
Ot, jedna opcja, a przysparza problemy. Wykonuje ją w PHP:
Kod: |
<?php mail("killavus@gmail.com", "Test E-Mail", "That's a test message.", "From: mail() function"); ?>
|
Rzecz w tym, że funkcja nie działa...
Kod: |
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\xampp\htdocs\lol.php on line 1
|
Zrzut php.ini:
Kod: |
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail_from = Server Administrator
|
Mam również zaznaczony extension:
Kod: |
extension=php_smtp.dll
|
Nie wiem o co chodzi. Jeżeli nawet z extensionem musi być serwer SMTP, możecie mi polecić cokolwiek? Mercury nie wysyła non-local maili...
OS: Windows XP Prof~ SP 2
Pozdrawiam,
Killavus. |
|
|
|
|
|
 |
|
 |
|
|
 |
 |
|
 |
|
Yoda |
Temat postu: |
Administrator
Dołączył: 01 Mar 2007
Posty: 46
Przeczytał: 0 tematów
Pomógł: 1 raz Ostrzeżeń: 0/100
|
|
|
|
 |
|
 |
 |
|
 |
|
Zobacz poprzedni temat
:: Zobacz następny temat
|
Strona 1 z 1
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach
|
|
|
 |
|
 |
fora.pl - załóż własne forum dyskusyjne za darmo
KDM2 template v1.0.1 © jasidog.com
Powered by phpBB
© 2001, 2002 phpBB Group
Obecny czas to Pią 23:39, 21 Lut 2025. Wszystkie czasy w strefie EET (Europa)
|