
mam do Was kolejne pytanie z serii "problemy laika".
Sprawa dotyczy wysyłania formularzy ze strony mailem - oczywiście wykorzystując php.
Korzystam z gotowych skryptów ... i tu jest mały problem ...
Te najprostsze typu yoaimailer czy phpmail oprate tylko na jednym pliku i ewentualnie formularzu formatują tekst bez polskich znaków

Zaś form2mail zwraca mi błąd Warning: mail(): SMTP server response: 550 Invalid recipient ... itd.

I tu moje pytanka:
1) jak się pozbyć tego błędu 550 Invalid ... z form2mail
2) względnie jak wymusić polskie litery w mailu np. z czegoś takiego (orginalna nazwa to romcomail - część creditsów wyciąłem teraz ze względu na przejrzystość kodu):
<? $mailto= "you@yourdomain.cpom"; $subject= "subject"; $from= "you@yourwebsite.com"; /* Changing these is optional */ $opening= "Your webpage form sent the following information:"; $footer= "Form processed by RomcoMail"; /* If set will go to this page after form is sent. * example: htp://yourdomain.com/thankyou.html */ $new_url= "http://yourdomain/thankyou.html"; /**************************************************************/ return; } $GLOBALS[$key] = $val; $content= $content."$key = $val\n"; } $message= "$opening\n\n"."$content\n\n".$footer; } } ?> <html> <head> <title>RomcoMail Demo Form</title> </head> <body> <h1>RomcoMail Demo</h1> <!-- see part 2 above -> <table border="0" cellspacing="0" cellpadding="2" width="325"> <tr> <td width="156"> <div align="right">Name:</div> </td> <td width="144"> <! -- one text field must be called "Name" --> <input type="text" name="Name"> </td> </tr> <tr> <td width="156"> <div align="right">Phone Number:</div> </td> <td width="144"> <input type="text" name="Phone_Number"> </td> </tr> <tr> <td width="156"> <div align="right">Email:</div> </td> <td width="144"> <input type="text" name="Email"> </td> </tr> </table> <br> <input type="submit" name="button1" value="Submit"> <input type="reset" name="button2" value="Reset"> </form> </body> </html>
Z tego co się orientuje to chyba trzeba dodać do mail() np. charset=ISO-8859-1, albo jakieś inne kodowanie, niestety coś mi to nie wychodzi ... jak dopisać ten fragment

To jak ? ktoś pomoże

Pozdrawiam