![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 581 Pomógł: 0 Dołączył: 21.07.2003 Skąd: Jasło Ostrzeżenie: (0%) ![]() ![]() |
no to sprawa taka:
index.php [php:1:63cafdf90a]<?php <form> temat:<br> <input type="text" name="temat"><br> treśc:<br> <textarea rows="7" name="tresc" cols="40"></textarea><br> <input type="submit" name="submit" value="wyślij"> </form> <? if($submit){ $header = "From: Lista mailowa <mast10@poczta.onet.pl>"; $adresy = file("lista.txt"); for ($index=0; $index < count($adresy); $index++) { mail("$adresy[$index]","$temat","$tresc","$header"); } echo"Wiadomość została rozesłana"; } ?> ?>[/php:1:63cafdf90a] i błąd Warning: mail() [function.mail]: Failed to connect to mailserver at "mast10@poczta.onet.pl" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:usrkrasnalwww321index.php on line 14 Warning: mail() [function.mail]: Failed to connect to mailserver at "mast10@poczta.onet.pl" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in c:usrkrasnalwww321index.php on line 14 Fatal error: Maximum execution time of 30 seconds exceeded in c:usrkrasnalwww321index.php on line 15 jak zrobić żeby lepiej skrypt działał i wysyłany był z mast10@poczta.onet.pl |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 07:59 |