![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 11 Pomógł: 0 Dołączył: 26.12.2006 Ostrzeżenie: (0%) ![]() ![]() |
Mam problem z tym kodem dostaje maila ale jego treść to:
Nazwisko [] Email [] Firma [] Wiadomość [] Nie przesyła mi po prostu danych z formularza tylko tak jakby pusty formularz Proszę o pomoc, bardzo mi na tym zależy Dziękuję i pozdrawiam <?php if(!empty($_POST['nazwisko']) || !empty($_POST['email']) || !empty($_POST['temat']) || !empty($_POST['wiadomosc'])) { $_POST["nazwisko"] = $nazwisko; $_POST["email"] = $email; $_POST["company"] = $company; $_POST["wiadomosc"] = $wiadomosc; $recipient .= "mail@op.pl"; $subject .= "Informacja ze strony"; $Emailbody .= "Nazwisko: [".$nazwisko."] \r\n Email: [".$email."] \r\n Firma: [".$company."] \r\n Wiadomość: [".$wiadomosc."]"; mail ($recipient, $subject, $Emailbody); } ?> Ten post edytował muya 27.12.2006, 14:01:36 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 11 Pomógł: 0 Dołączył: 26.12.2006 Ostrzeżenie: (0%) ![]() ![]() |
Wpisałem
$nazwisko = iconv("UTF-8", "ISO-8859-2", $_POST['nazwisko']); $company = iconv("UTF-8", "ISO-8859-2", $_POST['company']); $email = $_POST['email']; $wiadomosc = iconv("UTF-8", "ISO-8859-2", $_POST['wiadomosc']); I polskie znaki działają ale wiadomość dostaję w załąćzniku, a z serwera informację CORRUPTED MESSAGE This is the Courier Mail Server 0.47 on v1.yoyo.pl. I received the following message for delivery to your address. This message contains several internal formatting errors. This is often caused by viruses that attempt to infect remote systems. Instead of blocking this message, it has been converted as a safe, text-only attachment that can be safely read with a text editor. This sometimes also happens when the sender's mail software has a bug that creates improperly-formatted messages. Although these kinds of formatting errors may often be ignored by other mail servers, this server detects and intercepts improperly-coded messages in order to prevent viruses from taking advantage of bugs in E-mail programs: Wie co mam zrobić, żeby dostawać informację normalnie w body maila? |
|
|
![]() ![]() |
![]() |
Aktualny czas: 15.10.2025 - 02:54 |