i need to use a php script to recieve an email body text from flash and send that email to a fix address with a fix subject.
i was able to do so but i got stuck with 2 problems:
1. why does a multiline text data get sended as a single line one?
2. The body text alone is in Hebrew and Hebrew ONLY... the email keeps coming in 'Jibrish'.
What can be done about these 2??
Here is the php script i use:
$name = 'Wedding';
$email = 'email@example.com';
$subject = 'Confirmation';
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=ISO-8859-8' . "\r\n";
mail($toaddress,$subject,$message,"From: $name <$email>", $headers);