![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 10 Pomógł: 0 Dołączył: 26.08.2006 Ostrzeżenie: (0%) ![]() ![]() |
[php]Probuje wywolac skrypt z funkcja mail().
Pojawia sie taki komunikat: ' Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in c:\program files\apache group\Apache\htdocs\prj\rozdzial_04\pajtemp.php on line 13 ' Prosze o pomoc grupowiczow jak sobie z tym poradzic, dodam ze z Edytowalem(usunolem srednik przed 'from=john...@doe.com) plik php.ini w katalogu c:\windows, uzywam systemu XP. |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 10 Pomógł: 0 Dołączył: 23.08.2006 Ostrzeżenie: (0%) ![]() ![]() |
// Lonas - fart w tym samym czasie
Dzieki za sugestie Lonas. W pliku konfiguracyjnym Apacha (httpd.conf) jest nastepujaca opcja: # Set to one of: On | Off | EMail Zmodyfikowalem ja nastepujaco: Set to one of: On | EMail Okazalo sie, ze serwer wogole przestal dzialac. Czy ktos moglby pomoc mi wybrnac z tego problemu? Proponuję czytać całą linijkę: # Set to "EMail" to also include a mailto: link to the ServerAdmin. # Set to one of: On | Off | EMail" title="Zobacz w manualu php" target="_manual"> # Set to "EMail" to also include a mailto: link to the ServerAdmin. # Set to one of: On | Off | EMail To się nie odnosi do funkcji mail(). [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. ;sendmail_from = me@example.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of ; the 5th parameter to mail(), even in safe mode. ;mail.force_extra_paramaters =" title="Zobacz w manualu php" target="_manual"> [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. ;sendmail_from = me@example.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of ; the 5th parameter to mail(), even in safe mode. ;mail.force_extra_paramaters = Zainstaluj serwer pocztowy lub korzystaj z wysyłania maili przez SMTP. Ten post edytował Mirer 27.08.2006, 11:33:01 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 6.10.2025 - 12:33 |